diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-09-23 15:50:41 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-09-23 15:50:41 -0700 |
commit | 6ab5a0589ac4f0359679edbd3982c130038dfc1d (patch) | |
tree | d549d305f5633a97237bc1fe986c179394c216b7 /templates/interfaces | |
parent | 200fb453f43a3f0406c14b9003ca5a1e6f7587f4 (diff) | |
download | vyatta-cfg-qos-6ab5a0589ac4f0359679edbd3982c130038dfc1d.tar.gz vyatta-cfg-qos-6ab5a0589ac4f0359679edbd3982c130038dfc1d.zip |
Add incoming traffic limiting to Qos
This adds support for Qos using incoming policing. It is accepts the
syntax and processes commands, but is not fully debugged.
Bugfix: 3664
Diffstat (limited to 'templates/interfaces')
9 files changed, 18 insertions, 8 deletions
diff --git a/templates/interfaces/adsl/node.tag/pvc/node.tag/classical-ipoa/qos-policy/out/node.def b/templates/interfaces/adsl/node.tag/pvc/node.tag/classical-ipoa/qos-policy/out/node.def index bf62f9e..b8c64de 100644 --- a/templates/interfaces/adsl/node.tag/pvc/node.tag/classical-ipoa/qos-policy/out/node.def +++ b/templates/interfaces/adsl/node.tag/pvc/node.tag/classical-ipoa/qos-policy/out/node.def @@ -1,5 +1,5 @@ type: txt help: Set outbound QOS policy for specified ethernet interface -allowed: /opt/vyatta/sbin/vyatta-qos.pl --list-policy +allowed: /opt/vyatta/sbin/vyatta-qos.pl --list-policy out update: /opt/vyatta/sbin/vyatta-qos.pl --update-interface $VAR(../../../../@) $VAR(.) $VAR(@) delete: /opt/vyatta/sbin/vyatta-qos.pl --delete-interface $VAR(../../../../@) $VAR(.) diff --git a/templates/interfaces/adsl/node.tag/pvc/node.tag/pppoa/node.tag/qos-policy/out/node.def b/templates/interfaces/adsl/node.tag/pvc/node.tag/pppoa/node.tag/qos-policy/out/node.def index dfbb888..54a968a 100644 --- a/templates/interfaces/adsl/node.tag/pvc/node.tag/pppoa/node.tag/qos-policy/out/node.def +++ b/templates/interfaces/adsl/node.tag/pvc/node.tag/pppoa/node.tag/qos-policy/out/node.def @@ -1,5 +1,5 @@ type: txt help: Set outbound QOS policy for specified ethernet interface -allowed: /opt/vyatta/sbin/vyatta-qos.pl --list-policy +allowed: /opt/vyatta/sbin/vyatta-qos.pl --list-policy out update: /opt/vyatta/sbin/vyatta-qos.pl --update-interface pppoa$VAR(../../@) $VAR(.) $VAR(@) delete: /opt/vyatta/sbin/vyatta-qos.pl --delete-interface pppoa$VAR(../../@) $VAR(.) diff --git a/templates/interfaces/adsl/node.tag/pvc/node.tag/pppoe/node.tag/qos-policy/out/node.def b/templates/interfaces/adsl/node.tag/pvc/node.tag/pppoe/node.tag/qos-policy/out/node.def index 213d298..b61939d 100644 --- a/templates/interfaces/adsl/node.tag/pvc/node.tag/pppoe/node.tag/qos-policy/out/node.def +++ b/templates/interfaces/adsl/node.tag/pvc/node.tag/pppoe/node.tag/qos-policy/out/node.def @@ -1,5 +1,5 @@ type: txt help: Set outbound QOS policy for specified ethernet interface -allowed: /opt/vyatta/sbin/vyatta-qos.pl --list-policy +allowed: /opt/vyatta/sbin/vyatta-qos.pl --list-policy out update: /opt/vyatta/sbin/vyatta-qos.pl --update-interface pppoe$VAR(../../@) $VAR(.) $VAR(@) delete: /opt/vyatta/sbin/vyatta-qos.pl --delete-interface pppoe$VAR(../../@) $VAR(.) diff --git a/templates/interfaces/ethernet/node.tag/qos-policy/in/node.def b/templates/interfaces/ethernet/node.tag/qos-policy/in/node.def new file mode 100644 index 0000000..41f812f --- /dev/null +++ b/templates/interfaces/ethernet/node.tag/qos-policy/in/node.def @@ -0,0 +1,5 @@ +type: txt +help: Set input QOS policy for specified ethernet interface +allowed: /opt/vyatta/sbin/vyatta-qos.pl --list-policy in +update: /opt/vyatta/sbin/vyatta-qos.pl --update-interface $VAR(../../@) $VAR(.) $VAR(@) +delete: /opt/vyatta/sbin/vyatta-qos.pl --delete-interface $VAR(../../@) $VAR(.) diff --git a/templates/interfaces/ethernet/node.tag/qos-policy/out/node.def b/templates/interfaces/ethernet/node.tag/qos-policy/out/node.def index b4246b0..0b3d91a 100644 --- a/templates/interfaces/ethernet/node.tag/qos-policy/out/node.def +++ b/templates/interfaces/ethernet/node.tag/qos-policy/out/node.def @@ -1,5 +1,5 @@ type: txt -help: Set outbound QOS policy for specified ethernet interface -allowed: /opt/vyatta/sbin/vyatta-qos.pl --list-policy +help: Set output QOS policy for specified ethernet interface +allowed: /opt/vyatta/sbin/vyatta-qos.pl --list-policy out update: /opt/vyatta/sbin/vyatta-qos.pl --update-interface $VAR(../../@) $VAR(.) $VAR(@) delete: /opt/vyatta/sbin/vyatta-qos.pl --delete-interface $VAR(../../@) $VAR(.) diff --git a/templates/interfaces/ethernet/node.tag/vif/node.tag/qos-policy/out/node.def b/templates/interfaces/ethernet/node.tag/vif/node.tag/qos-policy/out/node.def index ba98afa..60f003a 100644 --- a/templates/interfaces/ethernet/node.tag/vif/node.tag/qos-policy/out/node.def +++ b/templates/interfaces/ethernet/node.tag/vif/node.tag/qos-policy/out/node.def @@ -1,6 +1,6 @@ type: txt help: Set outbound QOS policy -allowed: /opt/vyatta/sbin/vyatta-qos.pl --list-policy +allowed: /opt/vyatta/sbin/vyatta-qos.pl --list-policy out create: sudo ip link set dev $VAR(../../../@).$VAR(../../@) txqueuelen 100 /opt/vyatta/sbin/vyatta-qos.pl \ --update-interface $VAR(../../../@).$VAR(../../@) $VAR(.) $VAR(@) diff --git a/templates/interfaces/ethernet/pppoe/node.tag/qos-policy/out/node.def b/templates/interfaces/ethernet/pppoe/node.tag/qos-policy/out/node.def index 213d298..98f001e 100644 --- a/templates/interfaces/ethernet/pppoe/node.tag/qos-policy/out/node.def +++ b/templates/interfaces/ethernet/pppoe/node.tag/qos-policy/out/node.def @@ -1,5 +1,5 @@ type: txt help: Set outbound QOS policy for specified ethernet interface -allowed: /opt/vyatta/sbin/vyatta-qos.pl --list-policy +allowed: /opt/vyatta/sbin/vyatta-qos.pl --list-policy out update: /opt/vyatta/sbin/vyatta-qos.pl --update-interface pppoe$VAR(../../@) $VAR(.) $VAR(@) delete: /opt/vyatta/sbin/vyatta-qos.pl --delete-interface pppoe$VAR(../../@) $VAR(.) diff --git a/templates/interfaces/serial/node.tag/qos-policy/in/node.def b/templates/interfaces/serial/node.tag/qos-policy/in/node.def new file mode 100644 index 0000000..de04df8 --- /dev/null +++ b/templates/interfaces/serial/node.tag/qos-policy/in/node.def @@ -0,0 +1,5 @@ +type: txt +help: Set inbound QOS policy for specified serial interface +allowed: /opt/vyatta/sbin/vyatta-qos.pl --list-policy in +update: /opt/vyatta/sbin/vyatta-qos.pl --update-interface $VAR(../../@) $VAR(.) $VAR(@) +delete: /opt/vyatta/sbin/vyatta-qos.pl --delete-interface $VAR(../../@) $VAR(.) diff --git a/templates/interfaces/serial/node.tag/qos-policy/out/node.def b/templates/interfaces/serial/node.tag/qos-policy/out/node.def index 0251a27..f654046 100644 --- a/templates/interfaces/serial/node.tag/qos-policy/out/node.def +++ b/templates/interfaces/serial/node.tag/qos-policy/out/node.def @@ -1,5 +1,5 @@ type: txt help: Set outbound QOS policy for specified serial interface -allowed: /opt/vyatta/sbin/vyatta-qos.pl --list-policy +allowed: /opt/vyatta/sbin/vyatta-qos.pl --list-policy out update: /opt/vyatta/sbin/vyatta-qos.pl --update-interface $VAR(../../@) $VAR(.) $VAR(@) delete: /opt/vyatta/sbin/vyatta-qos.pl --delete-interface $VAR(../../@) $VAR(.) |