diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-07-21 17:31:19 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-07-21 17:31:19 -0700 |
commit | af22a9fa03a4b23c085979561b4376b2b22850e6 (patch) | |
tree | c3ee792712ce6e6b69e01b352a604113adf02b54 | |
parent | 51a0bc91b447b72dd5b60d1ae501430db0c197f1 (diff) | |
download | vyatta-cfg-system-af22a9fa03a4b23c085979561b4376b2b22850e6.tar.gz vyatta-cfg-system-af22a9fa03a4b23c085979561b4376b2b22850e6.zip |
Move input interface over to Qos package
The input interface needs to be in QoS package since the delete
action needs to refer to scripts in QoS package.
-rw-r--r-- | templates/interfaces/input/node.def | 11 | ||||
-rw-r--r-- | templates/interfaces/input/node.tag/description/node.def | 4 |
2 files changed, 0 insertions, 15 deletions
diff --git a/templates/interfaces/input/node.def b/templates/interfaces/input/node.def deleted file mode 100644 index 06b00c97..00000000 --- a/templates/interfaces/input/node.def +++ /dev/null @@ -1,11 +0,0 @@ -tag: -priority: 310 # before real devices that redirect -type: txt -help: Input functional block (IFB) interface name -val_help: <ifbN>; Input functional block interface name - -syntax:expression: pattern $VAR(@) "^ifb[0-9]+$" ; "name must be (ifb0-ifb999)" - -begin: [ -d /sys/module/ifb ] || sudo modprobe ifb numifbs=0 -create: ip link add $VAR(@) type ifb && ip link set $VAR(@) up -delete: ip link delete dev $VAR(@) diff --git a/templates/interfaces/input/node.tag/description/node.def b/templates/interfaces/input/node.tag/description/node.def deleted file mode 100644 index e4807d2f..00000000 --- a/templates/interfaces/input/node.tag/description/node.def +++ /dev/null @@ -1,4 +0,0 @@ -type: txt -help: Description -update: sudo sh -c "echo \"$VAR(@)\" >/sys/class/net/$VAR(../@)/ifalias" -delete: sudo sh -c "echo '' >/sys/class/net/$VAR(../@)/ifalias" |