diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-07-12 09:24:19 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-07-12 09:24:19 -0700 |
commit | cf51e90bfc2d1c3b58192a726e786b598681fb71 (patch) | |
tree | 04d13ca422bc33ab131f1d4fb82318baa992eaf2 /templates/traffic-policy/limiter | |
parent | 8bf774cb76305e00b5540b4222570df862343449 (diff) | |
download | vyatta-cfg-qos-cf51e90bfc2d1c3b58192a726e786b598681fb71.tar.gz vyatta-cfg-qos-cf51e90bfc2d1c3b58192a726e786b598681fb71.zip |
Rename limiter class priority field to precedence
Bug 5407
This fixes the confusing usage of priority field in both shaper
and limiter class. In limiter, it is renamed to precedence since
it controls the order of match rule evaluation.
Diffstat (limited to 'templates/traffic-policy/limiter')
-rw-r--r-- | templates/traffic-policy/limiter/node.tag/class/node.tag/precedence/node.def | 7 | ||||
-rw-r--r-- | templates/traffic-policy/limiter/node.tag/class/node.tag/priority/node.def | 8 |
2 files changed, 7 insertions, 8 deletions
diff --git a/templates/traffic-policy/limiter/node.tag/class/node.tag/precedence/node.def b/templates/traffic-policy/limiter/node.tag/class/node.tag/precedence/node.def new file mode 100644 index 0000000..adcb559 --- /dev/null +++ b/templates/traffic-policy/limiter/node.tag/class/node.tag/precedence/node.def @@ -0,0 +1,7 @@ +type: u32 +help: Set ordering for rule evaluation +default: 20 +syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 255 ; \ + "precedence must be between 0 and 255" +comp_help: Precedence in traffic limiter rule evaluation + <0-255> (default 20) diff --git a/templates/traffic-policy/limiter/node.tag/class/node.tag/priority/node.def b/templates/traffic-policy/limiter/node.tag/class/node.tag/priority/node.def deleted file mode 100644 index a99400d..0000000 --- a/templates/traffic-policy/limiter/node.tag/class/node.tag/priority/node.def +++ /dev/null @@ -1,8 +0,0 @@ -type: u32 -help: Set priority for rule evaluation -default: 20 -syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 20 ; \ - "priority must be between 0 and 20" -help: Priority value -comp_help: Priority for traffic limiting evaluation - <0-20> (default 20) |