summaryrefslogtreecommitdiff
path: root/templates/protocols/rip/interface/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates/protocols/rip/interface/node.def')
-rw-r--r--templates/protocols/rip/interface/node.def11
1 files changed, 0 insertions, 11 deletions
diff --git a/templates/protocols/rip/interface/node.def b/templates/protocols/rip/interface/node.def
deleted file mode 100644
index be1db113..00000000
--- a/templates/protocols/rip/interface/node.def
+++ /dev/null
@@ -1,11 +0,0 @@
-multi:
-type: txt
-help: Interface name
-commit:expression: exec " \
- if [ -z \"`ip addr | grep $VAR(@) `\" ]; then \
- echo interface $VAR(@) doesn\\'t exist on this system ; \
- exit 1 ; \
- fi ; "
-create:vtysh -c "configure terminal" -c "router rip" -c "network $VAR(@)"
-delete:vtysh -c "configure terminal" -c "router rip" -c "no network $VAR(@)"
-allowed: ${vyatta_sbindir}/vyatta-interfaces.pl --show all