From 8d899684fa07fc5301e39848facf6fa11933b949 Mon Sep 17 00:00:00 2001 From: Mohit Mehta Date: Fri, 6 Jun 2008 08:03:49 +0000 Subject: Fix bug 3134 "delete interfaces <> <> ip rip split-horizon" sets "no ip rip split-horizon" under the routing engine which is unknown in the config - 'interfaces <.....> ip rip split-horizon' does nothing on set or delete documentation needs to be updated to reflect: :'interfaces <.....> ip rip' or 'interfaces <.....> ip rip split-horizon' do nothing on set or delete :CLI under 'interfaces <.....> ip rip split-horizon' be only used to control split horizon behaviour i.e. :either disable it using: 'set interfaces <.....> ip rip split-horizon disable' :or use split-horizon with poison reverse using: 'set interfaces <.....> ip rip split-horizon poison-reverse' :to set up RIP for an interface, RIP section under protocols is to be used --- .../pvc/node.tag/pppoa/node.tag/ip/rip/split-horizon/node.def | 11 +---------- .../pvc/node.tag/pppoe/node.tag/ip/rip/split-horizon/node.def | 11 +---------- 2 files changed, 2 insertions(+), 20 deletions(-) (limited to 'templates/interfaces/adsl') diff --git a/templates/interfaces/adsl/node.tag/pvc/node.tag/pppoa/node.tag/ip/rip/split-horizon/node.def b/templates/interfaces/adsl/node.tag/pvc/node.tag/pppoa/node.tag/ip/rip/split-horizon/node.def index abf686f6..ba39b616 100644 --- a/templates/interfaces/adsl/node.tag/pvc/node.tag/pppoa/node.tag/ip/rip/split-horizon/node.def +++ b/templates/interfaces/adsl/node.tag/pvc/node.tag/pppoa/node.tag/ip/rip/split-horizon/node.def @@ -1,10 +1 @@ -help: Enable split horizon on this interface -update:expression: "${vyatta_sbindir}/vyatta-vtysh.pl \ - -c \"configure terminal \" \ - -c \"interface pppoa$VAR(../../../@) \" \ - -c \"ip rip split-horizon \" " - -delete:expression: "${vyatta_sbindir}/vyatta-vtysh.pl \ - -c \"configure terminal \" \ - -c \"interface pppoa$VAR(../../../@) \" \ - -c \"no ip rip split-horizon \" " +help: Set to control split horizon parameters on this interface diff --git a/templates/interfaces/adsl/node.tag/pvc/node.tag/pppoe/node.tag/ip/rip/split-horizon/node.def b/templates/interfaces/adsl/node.tag/pvc/node.tag/pppoe/node.tag/ip/rip/split-horizon/node.def index dee817a5..ba39b616 100644 --- a/templates/interfaces/adsl/node.tag/pvc/node.tag/pppoe/node.tag/ip/rip/split-horizon/node.def +++ b/templates/interfaces/adsl/node.tag/pvc/node.tag/pppoe/node.tag/ip/rip/split-horizon/node.def @@ -1,10 +1 @@ -help: Enable split horizon on this interface -update:expression: "${vyatta_sbindir}/vyatta-vtysh.pl \ - -c \"configure terminal \" \ - -c \"interface pppoe$VAR(../../../@) \" \ - -c \"ip rip split-horizon \" " - -delete:expression: "${vyatta_sbindir}/vyatta-vtysh.pl \ - -c \"configure terminal \" \ - -c \"interface pppoe$VAR(../../../@) \" \ - -c \"no ip rip split-horizon \" " +help: Set to control split horizon parameters on this interface -- cgit v1.2.3