diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-12-21 10:50:12 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-12-21 10:50:12 -0800 |
commit | 886e0e9ff9dd3e3fe73a37285b386cdffc653315 (patch) | |
tree | 15c9fc18a308205145c8837609cb7e4b5881eb08 /templates/interfaces/loopback | |
parent | a08ee2271d2166fc8013cee8ebeddd9fb0987283 (diff) | |
download | vyatta-cfg-886e0e9ff9dd3e3fe73a37285b386cdffc653315.tar.gz vyatta-cfg-886e0e9ff9dd3e3fe73a37285b386cdffc653315.zip |
Move interfaces to vyatta-cfg-system package
All the other templates and scripts related to interfaces
are in vyatta-cfg-system
Diffstat (limited to 'templates/interfaces/loopback')
-rw-r--r-- | templates/interfaces/loopback/node.def | 8 | ||||
-rw-r--r-- | templates/interfaces/loopback/node.tag/address/node.def | 18 | ||||
-rw-r--r-- | templates/interfaces/loopback/node.tag/description/node.def | 4 |
3 files changed, 0 insertions, 30 deletions
diff --git a/templates/interfaces/loopback/node.def b/templates/interfaces/loopback/node.def deleted file mode 100644 index 64485e5..0000000 --- a/templates/interfaces/loopback/node.def +++ /dev/null @@ -1,8 +0,0 @@ -tag: -priority: 320 -type: txt -help: Set loopback interface -syntax:expression: exec \ - "/opt/vyatta/sbin/vyatta-interfaces.pl --dev=$VAR(@) --check=loopback" -allowed: /opt/vyatta/sbin/vyatta-interfaces.pl --show=loopback -create: sudo ip link set $VAR(@) up diff --git a/templates/interfaces/loopback/node.tag/address/node.def b/templates/interfaces/loopback/node.tag/address/node.def deleted file mode 100644 index 76c2e76..0000000 --- a/templates/interfaces/loopback/node.tag/address/node.def +++ /dev/null @@ -1,18 +0,0 @@ -multi: - -type: txt - -help: Set an IP address for this interface - -syntax:expression: exec "/opt/vyatta/sbin/vyatta-interfaces.pl --valid-addr-set $VAR(@) --dev $VAR(../@)"; \ - "Invalid IP address/prefix [$VAR(@)] for interface $VAR(../@)" - -create:expression: "sudo /opt/vyatta/sbin/vyatta-interfaces.pl --eth-addr-update $VAR(@) --dev $VAR(../@)"; \ - "Error setting address $VAR(@) on interface $VAR(../@)" - -delete:expression: "sudo /opt/vyatta/sbin/vyatta-interfaces.pl --eth-addr-delete $VAR(@) --dev $VAR(../@)"; \ - "Error deleting address $VAR(@) on interface $VAR(../@)" - -comp_help:Possible completions: - <x.x.x.x/x> Set the IP address and prefix length - <h:h:h:h:h:h:h:h/x> Set the IPv6 address and prefix length diff --git a/templates/interfaces/loopback/node.tag/description/node.def b/templates/interfaces/loopback/node.tag/description/node.def deleted file mode 100644 index 7f64c78..0000000 --- a/templates/interfaces/loopback/node.tag/description/node.def +++ /dev/null @@ -1,4 +0,0 @@ -type: txt -help: Set description for this interface -update: sudo sh -c "echo \"$VAR(@)\" >/sys/class/net/$VAR(../@)/ifalias" -delete: sudo sh -c "echo '' >/sys/class/net/$VAR(../@)/ifalias" |