From f672a6d5ca04b643a9d8583fcb8ade4da9fde6f3 Mon Sep 17 00:00:00 2001 From: slioch Date: Fri, 24 Jul 2009 16:59:27 -0700 Subject: bug fixes on mult targets. added packet rate limit option to rules --- templates/load-balancing/wan/rule/node.tag/limit/burst/node.def | 3 +++ templates/load-balancing/wan/rule/node.tag/limit/node.def | 1 + templates/load-balancing/wan/rule/node.tag/limit/period/node.def | 4 ++++ templates/load-balancing/wan/rule/node.tag/limit/rate/node.def | 3 +++ templates/load-balancing/wan/rule/node.tag/limit/threshold/node.def | 4 ++++ 5 files changed, 15 insertions(+) create mode 100644 templates/load-balancing/wan/rule/node.tag/limit/burst/node.def create mode 100644 templates/load-balancing/wan/rule/node.tag/limit/node.def create mode 100644 templates/load-balancing/wan/rule/node.tag/limit/period/node.def create mode 100644 templates/load-balancing/wan/rule/node.tag/limit/rate/node.def create mode 100644 templates/load-balancing/wan/rule/node.tag/limit/threshold/node.def (limited to 'templates') 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 -- cgit v1.2.3