diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-08-29 13:54:38 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-08-29 13:54:38 -0700 |
commit | dae88a60a1b40555db65f19a417b0600055a4b51 (patch) | |
tree | 973f1d267eb3bb4263e95b70e35fc4350a677904 /templates | |
parent | 8b94b543ac693865f2a52bcde4f53fe1e0926f75 (diff) | |
download | vyatta-cfg-qos-dae88a60a1b40555db65f19a417b0600055a4b51.tar.gz vyatta-cfg-qos-dae88a60a1b40555db65f19a417b0600055a4b51.zip |
Add drop-tail (aka FIFO) QoS policy
Add new configuration support for plain fifo queueing.
Better code for the table in perl script that loads queue objects.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/qos-policy/drop-tail/node.def | 8 | ||||
-rw-r--r-- | templates/qos-policy/drop-tail/node.tag/description/node.def | 2 | ||||
-rw-r--r-- | templates/qos-policy/drop-tail/node.tag/queue-limit/node.def | 2 |
3 files changed, 12 insertions, 0 deletions
diff --git a/templates/qos-policy/drop-tail/node.def b/templates/qos-policy/drop-tail/node.def new file mode 100644 index 0000000..980e5c6 --- /dev/null +++ b/templates/qos-policy/drop-tail/node.def @@ -0,0 +1,8 @@ +tag: +type: txt +help: Set drop tail queue (FIFO) policy +syntax:expression: pattern $VAR(@) "^[[:alnum:]][-_[:alnum:]]*$" + ; "only alpha-numeric policy name allowed" +create: /opt/vyatta/sbin/vyatta-qos.pl --create-policy "$VAR(.)" "$VAR(@)" +delete: /opt/vyatta/sbin/vyatta-qos.pl --delete-policy "$VAR(@)" +update: /opt/vyatta/sbin/vyatta-qos.pl --update-policy "$VAR(.)" "$VAR(@)" diff --git a/templates/qos-policy/drop-tail/node.tag/description/node.def b/templates/qos-policy/drop-tail/node.tag/description/node.def new file mode 100644 index 0000000..1e8e64f --- /dev/null +++ b/templates/qos-policy/drop-tail/node.tag/description/node.def @@ -0,0 +1,2 @@ +type: txt +help: Set description for this queuing policy diff --git a/templates/qos-policy/drop-tail/node.tag/queue-limit/node.def b/templates/qos-policy/drop-tail/node.tag/queue-limit/node.def new file mode 100644 index 0000000..49c47b4 --- /dev/null +++ b/templates/qos-policy/drop-tail/node.tag/queue-limit/node.def @@ -0,0 +1,2 @@ +type: u32 +help: Set maximum queue size (packets) |