diff options
-rw-r--r-- | templates/protocols/bgp/node.tag/neighbor/node.tag/disable/node.def | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/templates/protocols/bgp/node.tag/neighbor/node.tag/disable/node.def b/templates/protocols/bgp/node.tag/neighbor/node.tag/disable/node.def deleted file mode 100644 index 673af92f..00000000 --- a/templates/protocols/bgp/node.tag/neighbor/node.tag/disable/node.def +++ /dev/null @@ -1,12 +0,0 @@ -help: Disable the Address Family for this Neighbor -commit:expression: exec "/opt/vyatta/sbin/vyatta-bgp.pl --check-as --as $VAR(../../@) --neighbor $VAR(../@)" -update:expression: "if [ -n \"$VAR(../remote-as/@)\" ]; then \ - peer=\"remote-as $VAR(../remote-as/@)\"; \ - else \ - peer=\"peer-group $VAR(../peer-group/@)\"; \ - fi; \ - ${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router bgp $VAR(../../@)\" \ - -c \"neighbor $VAR(../@) $peer\" \ - -c \"no neighbor $VAR(../@) activate \" " -delete:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router bgp $VAR(../../@)\" \ - -c \"neighbor $VAR(../@) activate \" " |