summaryrefslogtreecommitdiff
path: root/templates/load-balancing
diff options
context:
space:
mode:
authorslioch <slioch@eng-140.vyatta.com>2009-07-24 16:59:27 -0700
committerslioch <slioch@eng-140.vyatta.com>2009-07-24 16:59:27 -0700
commitf672a6d5ca04b643a9d8583fcb8ade4da9fde6f3 (patch)
tree07bf2b8289e4bffc561f5d0fc7bb1c664d7ee6da /templates/load-balancing
parente99605daeed8b412073694ee35d54da78920703f (diff)
downloadvyatta-wanloadbalance-f672a6d5ca04b643a9d8583fcb8ade4da9fde6f3.tar.gz
vyatta-wanloadbalance-f672a6d5ca04b643a9d8583fcb8ade4da9fde6f3.zip
bug fixes on mult targets. added packet rate limit option to rules
Diffstat (limited to 'templates/load-balancing')
-rw-r--r--templates/load-balancing/wan/rule/node.tag/limit/burst/node.def3
-rw-r--r--templates/load-balancing/wan/rule/node.tag/limit/node.def1
-rw-r--r--templates/load-balancing/wan/rule/node.tag/limit/period/node.def4
-rw-r--r--templates/load-balancing/wan/rule/node.tag/limit/rate/node.def3
-rw-r--r--templates/load-balancing/wan/rule/node.tag/limit/threshold/node.def4
5 files changed, 15 insertions, 0 deletions
diff --git a/templates/load-balancing/wan/rule/node.tag/limit/burst/node.def b/templates/load-balancing/wan/rule/node.tag/limit/burst/node.def
new file mode 100644
index 0000000..98cf81d
--- /dev/null
+++ b/templates/load-balancing/wan/rule/node.tag/limit/burst/node.def
@@ -0,0 +1,3 @@
+type: u32
+help: Set burst limit for matching packets
+default: 5 \ No newline at end of file
diff --git a/templates/load-balancing/wan/rule/node.tag/limit/node.def b/templates/load-balancing/wan/rule/node.tag/limit/node.def
new file mode 100644
index 0000000..7a50d14
--- /dev/null
+++ b/templates/load-balancing/wan/rule/node.tag/limit/node.def
@@ -0,0 +1 @@
+help: Enable packet limit for this rule \ No newline at end of file
diff --git a/templates/load-balancing/wan/rule/node.tag/limit/period/node.def b/templates/load-balancing/wan/rule/node.tag/limit/period/node.def
new file mode 100644
index 0000000..3049203
--- /dev/null
+++ b/templates/load-balancing/wan/rule/node.tag/limit/period/node.def
@@ -0,0 +1,4 @@
+type: txt
+help: Set time window for rate calculation
+default: "second"
+syntax:expression: $VAR(@) in "second", "minute", "hour"; "period must be second or minute or hour" \ No newline at end of file
diff --git a/templates/load-balancing/wan/rule/node.tag/limit/rate/node.def b/templates/load-balancing/wan/rule/node.tag/limit/rate/node.def
new file mode 100644
index 0000000..5ea3c44
--- /dev/null
+++ b/templates/load-balancing/wan/rule/node.tag/limit/rate/node.def
@@ -0,0 +1,3 @@
+type: u32
+help: Set number of packets used for rate limit
+default: 5 \ No newline at end of file
diff --git a/templates/load-balancing/wan/rule/node.tag/limit/threshold/node.def b/templates/load-balancing/wan/rule/node.tag/limit/threshold/node.def
new file mode 100644
index 0000000..21b395e
--- /dev/null
+++ b/templates/load-balancing/wan/rule/node.tag/limit/threshold/node.def
@@ -0,0 +1,4 @@
+type: txt
+help: Set threshold behavior for limit
+default: "below"
+syntax:expression: $VAR(@) in "below", "above"; "limit can apply above or below rate" \ No newline at end of file