From 7e1f92bfd89c768cae638001cac37a14561c7622 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Fri, 23 Jul 2010 15:31:04 -0700 Subject: Revert "Rename limiter class priority field to precedence" This reverts commit cf51e90bfc2d1c3b58192a726e786b598681fb71. Conflicts: templates/traffic-policy/limiter/node.tag/class/node.tag/precedence/node.def --- .../limiter/node.tag/class/node.tag/precedence/node.def | 6 ------ .../limiter/node.tag/class/node.tag/priority/node.def | 8 ++++++++ 2 files changed, 8 insertions(+), 6 deletions(-) delete mode 100644 templates/traffic-policy/limiter/node.tag/class/node.tag/precedence/node.def create mode 100644 templates/traffic-policy/limiter/node.tag/class/node.tag/priority/node.def (limited to 'templates/traffic-policy') 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 deleted file mode 100644 index 24f3b8b..0000000 --- a/templates/traffic-policy/limiter/node.tag/class/node.tag/precedence/node.def +++ /dev/null @@ -1,6 +0,0 @@ -type: u32 -help: Ordering for rule evaluation -default: 20 -syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 255 ; \ - "precedence must be between 0 and 255" -val_help: u32:0-255; Rule evaluation order 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 new file mode 100644 index 0000000..a99400d --- /dev/null +++ b/templates/traffic-policy/limiter/node.tag/class/node.tag/priority/node.def @@ -0,0 +1,8 @@ +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) -- cgit v1.2.3