diff options
author | Mohit Mehta <mohit.mehta@vyatta.com> | 2008-06-05 23:36:28 +0000 |
---|---|---|
committer | Mohit Mehta <mohit.mehta@vyatta.com> | 2008-06-05 23:36:28 +0000 |
commit | 3a4fec009bd8b35dac86a2027c6cb21a80cd2989 (patch) | |
tree | 3cae2d83699e8d66f17d131340ea015bce1c97e5 | |
parent | 8f2dddd46eabb178c6b9f262b1a09b285578a1b8 (diff) | |
download | vyatta-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
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(../../../../@)" |