summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-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