diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-12-09 16:51:59 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-12-09 16:51:59 -0800 |
commit | 0fdf5d942a6577a625b81eab2651af5f0d7afed5 (patch) | |
tree | 1960f3717be59a1fdfde96cbcf8557b6bd18ad92 /templates/qos-policy/network-emulator/node.def | |
parent | 326ee1c8565c55315275771f73aae4d0d1a27cf9 (diff) | |
download | vyatta-cfg-qos-0fdf5d942a6577a625b81eab2651af5f0d7afed5.tar.gz vyatta-cfg-qos-0fdf5d942a6577a625b81eab2651af5f0d7afed5.zip |
Add support for network emulation
New QoS feature to allow emulating WAN characteristics
Diffstat (limited to 'templates/qos-policy/network-emulator/node.def')
-rw-r--r-- | templates/qos-policy/network-emulator/node.def | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/qos-policy/network-emulator/node.def b/templates/qos-policy/network-emulator/node.def new file mode 100644 index 0000000..0139490 --- /dev/null +++ b/templates/qos-policy/network-emulator/node.def @@ -0,0 +1,7 @@ +tag: +type: txt +help: Setup network emulator policy +syntax:expression: pattern $VAR(@) "^[[:alnum:]][-_[:alnum:]]*$" + ; "only alpha-numeric policy name allowed" +update: /opt/vyatta/sbin/vyatta-qos.pl --create-policy "$VAR(.)" "$VAR(@)" +delete: /opt/vyatta/sbin/vyatta-qos.pl --delete-policy "$VAR(@)" |