summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohit Mehta <mohit.mehta@vyatta.com>2008-06-05 23:36:28 +0000
committerMohit Mehta <mohit.mehta@vyatta.com>2008-06-05 23:36:28 +0000
commit3a4fec009bd8b35dac86a2027c6cb21a80cd2989 (patch)
tree3cae2d83699e8d66f17d131340ea015bce1c97e5
parent8f2dddd46eabb178c6b9f262b1a09b285578a1b8 (diff)
downloadvyatta-cfg-quagga-3a4fec009bd8b35dac86a2027c6cb21a80cd2989.tar.gz
vyatta-cfg-quagga-3a4fec009bd8b35dac86a2027c6cb21a80cd2989.zip
Fix bug 2849 "disable-split-horizon" needs to be implemented
- fixed to work for vifs
-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(../../../../@)"