summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/interfaces/ethernet/node.tag/vif/node.tag/ip/rip/split-horizon/disable/node.def4
-rw-r--r--templates/interfaces/serial/node.tag/cisco-hdlc/vif/node.tag/ip/rip/split-horizon/disable/node.def4
-rw-r--r--templates/interfaces/serial/node.tag/frame-relay/vif/node.tag/ip/rip/split-horizon/disable/node.def4
-rw-r--r--templates/interfaces/serial/node.tag/ppp/vif/node.tag/ip/rip/split-horizon/disable/node.def4
4 files changed, 8 insertions, 8 deletions
diff --git a/templates/interfaces/ethernet/node.tag/vif/node.tag/ip/rip/split-horizon/disable/node.def b/templates/interfaces/ethernet/node.tag/vif/node.tag/ip/rip/split-horizon/disable/node.def
index af2f0c0a..760395cc 100644
--- a/templates/interfaces/ethernet/node.tag/vif/node.tag/ip/rip/split-horizon/disable/node.def
+++ b/templates/interfaces/ethernet/node.tag/vif/node.tag/ip/rip/split-horizon/disable/node.def
@@ -1,12 +1,12 @@
help: Disable split horizon on specified interface
create:expression: "${vyatta_sbindir}/vyatta-vtysh.pl \
-c \"configure terminal \" \
- -c \"interface $VAR(../../../../@) \" \
+ -c \"interface $VAR(../../../../../@).$VAR(../../../../@) \" \
-c \"no ip rip split-horizon \" "
delete:expression: "${vyatta_sbindir}/vyatta-vtysh.pl \
-c \"configure terminal \" \
- -c \"interface $VAR(../../../../@) \" \
+ -c \"interface $VAR(../../../../../@).$VAR(../../../../@) \" \
-c \"ip rip split-horizon \" "
commit:expression: ($VAR(../poison-reverse/) == ""); "You cannot have 'split-horizon poison-reverse' enabled with 'split-horizon' disabled for ethernet Virtual InterFace $VAR(../../../../@)"
diff --git a/templates/interfaces/serial/node.tag/cisco-hdlc/vif/node.tag/ip/rip/split-horizon/disable/node.def b/templates/interfaces/serial/node.tag/cisco-hdlc/vif/node.tag/ip/rip/split-horizon/disable/node.def
index bd98e5af..b0b1fcd4 100644
--- a/templates/interfaces/serial/node.tag/cisco-hdlc/vif/node.tag/ip/rip/split-horizon/disable/node.def
+++ b/templates/interfaces/serial/node.tag/cisco-hdlc/vif/node.tag/ip/rip/split-horizon/disable/node.def
@@ -1,12 +1,12 @@
help: Disable split horizon on specified interface
create:expression: "${vyatta_sbindir}/vyatta-vtysh.pl \
-c \"configure terminal \" \
- -c \"interface $VAR(../../../../@) \" \
+ -c \"interface $VAR(../../../../../../@).$VAR(../../../../@) \" \
-c \"no ip rip split-horizon \" "
delete:expression: "${vyatta_sbindir}/vyatta-vtysh.pl \
-c \"configure terminal \" \
- -c \"interface $VAR(../../../../@) \" \
+ -c \"interface $VAR(../../../../../../@).$VAR(../../../../@) \" \
-c \"ip rip split-horizon \" "
commit:expression: ($VAR(../poison-reverse/) == ""); "You cannot have 'split-horizon poison-reverse' enabled with 'split-horizon' disabled for serial Virtual InterFace $VAR(../../../../@)"
diff --git a/templates/interfaces/serial/node.tag/frame-relay/vif/node.tag/ip/rip/split-horizon/disable/node.def b/templates/interfaces/serial/node.tag/frame-relay/vif/node.tag/ip/rip/split-horizon/disable/node.def
index bd98e5af..b0b1fcd4 100644
--- a/templates/interfaces/serial/node.tag/frame-relay/vif/node.tag/ip/rip/split-horizon/disable/node.def
+++ b/templates/interfaces/serial/node.tag/frame-relay/vif/node.tag/ip/rip/split-horizon/disable/node.def
@@ -1,12 +1,12 @@
help: Disable split horizon on specified interface
create:expression: "${vyatta_sbindir}/vyatta-vtysh.pl \
-c \"configure terminal \" \
- -c \"interface $VAR(../../../../@) \" \
+ -c \"interface $VAR(../../../../../../@).$VAR(../../../../@) \" \
-c \"no ip rip split-horizon \" "
delete:expression: "${vyatta_sbindir}/vyatta-vtysh.pl \
-c \"configure terminal \" \
- -c \"interface $VAR(../../../../@) \" \
+ -c \"interface $VAR(../../../../../../@).$VAR(../../../../@) \" \
-c \"ip rip split-horizon \" "
commit:expression: ($VAR(../poison-reverse/) == ""); "You cannot have 'split-horizon poison-reverse' enabled with 'split-horizon' disabled for serial Virtual InterFace $VAR(../../../../@)"
diff --git a/templates/interfaces/serial/node.tag/ppp/vif/node.tag/ip/rip/split-horizon/disable/node.def b/templates/interfaces/serial/node.tag/ppp/vif/node.tag/ip/rip/split-horizon/disable/node.def
index bd98e5af..63dab9e0 100644
--- a/templates/interfaces/serial/node.tag/ppp/vif/node.tag/ip/rip/split-horizon/disable/node.def
+++ b/templates/interfaces/serial/node.tag/ppp/vif/node.tag/ip/rip/split-horizon/disable/node.def
@@ -1,12 +1,12 @@
help: Disable split horizon on specified interface
create:expression: "${vyatta_sbindir}/vyatta-vtysh.pl \
-c \"configure terminal \" \
- -c \"interface $VAR(../../../../@) \" \
+ -c \"interface $VAR(../../../../../../@).$VAR(../../../../@) \" \
-c \"no ip rip split-horizon \" "
delete:expression: "${vyatta_sbindir}/vyatta-vtysh.pl \
-c \"configure terminal \" \
- -c \"interface $VAR(../../../../@) \" \
+ -c \"interface $VAR(../../../../../../@).$VAR(../../../../@) \" \
-c \"ip rip split-horizon \" "
commit:expression: ($VAR(../poison-reverse/) == ""); "You cannot have 'split-horizon poison-reverse' enabled with 'split-horizon' disabled for serial Virtual InterFace $VAR(../../../../@)"