diff options
Diffstat (limited to 'templates')
4 files changed, 17 insertions, 0 deletions
diff --git a/templates/interfaces/bonding/node.tag/qos-policy/node.def b/templates/interfaces/bonding/node.tag/qos-policy/node.def new file mode 100644 index 0000000..28cffea --- /dev/null +++ b/templates/interfaces/bonding/node.tag/qos-policy/node.def @@ -0,0 +1 @@ +help: Set Quality of Service (QoS) policy for specified bonding interface diff --git a/templates/interfaces/bonding/node.tag/qos-policy/out/node.def b/templates/interfaces/bonding/node.tag/qos-policy/out/node.def new file mode 100644 index 0000000..ec96f0f --- /dev/null +++ b/templates/interfaces/bonding/node.tag/qos-policy/out/node.def @@ -0,0 +1,6 @@ +type: txt +help: Set output QOS policy for specified bonding interface +allowed: /opt/vyatta/sbin/vyatta-qos.pl --list-policy out +create: sudo ip link set dev $VAR(../../../@).$VAR(../../@) txqueuelen 100 +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/bonding/node.tag/vif/node.tag/qos-policy/node.def b/templates/interfaces/bonding/node.tag/vif/node.tag/qos-policy/node.def new file mode 100644 index 0000000..2c0cf7a --- /dev/null +++ b/templates/interfaces/bonding/node.tag/vif/node.tag/qos-policy/node.def @@ -0,0 +1 @@ +help: Configure qos-policy diff --git a/templates/interfaces/bonding/node.tag/vif/node.tag/qos-policy/out/node.def b/templates/interfaces/bonding/node.tag/vif/node.tag/qos-policy/out/node.def new file mode 100644 index 0000000..df0ea43 --- /dev/null +++ b/templates/interfaces/bonding/node.tag/vif/node.tag/qos-policy/out/node.def @@ -0,0 +1,9 @@ +type: txt +help: Set outbound QOS policy +allowed: /opt/vyatta/sbin/vyatta-qos.pl --list-policy out +create: sudo ip link set dev $VAR(../../../@).$VAR(../../@) txqueuelen 100 +update: /opt/vyatta/sbin/vyatta-qos.pl \ + --update-interface $VAR(../../../@).$VAR(../../@) $VAR(.) $VAR(@) +delete: /opt/vyatta/sbin/vyatta-qos.pl \ + --delete-interface $VAR(../../../@).$VAR(../../@) $VAR(.) + sudo ip link set dev $VAR(../../../@).$VAR(../../@) txqueuelen 0 |