From a88854c2b8b4a3f480c283c78476f456534bb65d Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Fri, 30 Jul 2010 11:52:27 -0700 Subject: Make round-robin quantum per class Bug 5958 (cherry picked from commit 7f42350146525544bd38db2426d6f5c7b99302c2) --- .../round-robin/node.tag/class/node.tag/quantum/node.def | 4 ++++ .../traffic-policy/round-robin/node.tag/default/quantum/node.def | 4 ++++ templates/traffic-policy/round-robin/node.tag/quantum/node.def | 4 ---- 3 files changed, 8 insertions(+), 4 deletions(-) create mode 100644 templates/traffic-policy/round-robin/node.tag/class/node.tag/quantum/node.def create mode 100644 templates/traffic-policy/round-robin/node.tag/default/quantum/node.def delete mode 100644 templates/traffic-policy/round-robin/node.tag/quantum/node.def (limited to 'templates') diff --git a/templates/traffic-policy/round-robin/node.tag/class/node.tag/quantum/node.def b/templates/traffic-policy/round-robin/node.tag/class/node.tag/quantum/node.def new file mode 100644 index 0000000..7763166 --- /dev/null +++ b/templates/traffic-policy/round-robin/node.tag/class/node.tag/quantum/node.def @@ -0,0 +1,4 @@ +type: u32 +help: Packet scheduling quantum +syntax:expression: $VAR(@) > 0 ; "Quantum must be greater than zero" +val_help: u32:1-4294967295; Packet scheduling quantum (bytes) diff --git a/templates/traffic-policy/round-robin/node.tag/default/quantum/node.def b/templates/traffic-policy/round-robin/node.tag/default/quantum/node.def new file mode 100644 index 0000000..7763166 --- /dev/null +++ b/templates/traffic-policy/round-robin/node.tag/default/quantum/node.def @@ -0,0 +1,4 @@ +type: u32 +help: Packet scheduling quantum +syntax:expression: $VAR(@) > 0 ; "Quantum must be greater than zero" +val_help: u32:1-4294967295; Packet scheduling quantum (bytes) diff --git a/templates/traffic-policy/round-robin/node.tag/quantum/node.def b/templates/traffic-policy/round-robin/node.tag/quantum/node.def deleted file mode 100644 index 7763166..0000000 --- a/templates/traffic-policy/round-robin/node.tag/quantum/node.def +++ /dev/null @@ -1,4 +0,0 @@ -type: u32 -help: Packet scheduling quantum -syntax:expression: $VAR(@) > 0 ; "Quantum must be greater than zero" -val_help: u32:1-4294967295; Packet scheduling quantum (bytes) -- cgit v1.2.3