summaryrefslogtreecommitdiff
path: root/templates/protocols/bgp
diff options
context:
space:
mode:
authorRobert Bays <rbays@moresby.vyatta.com>2008-03-14 14:00:40 -0700
committerRobert Bays <rbays@moresby.vyatta.com>2008-03-14 14:00:40 -0700
commite25ca7876ca5fd62d8f03cb21020f3d263653201 (patch)
tree55eee8a1a8fbbef1ae6f343667c1e6c12cab20c1 /templates/protocols/bgp
parente1d0d9a781e5ccf7941809e8e75e607b2e9197c9 (diff)
downloadvyatta-cfg-quagga-e25ca7876ca5fd62d8f03cb21020f3d263653201.tar.gz
vyatta-cfg-quagga-e25ca7876ca5fd62d8f03cb21020f3d263653201.zip
fix for bug 2993
Diffstat (limited to 'templates/protocols/bgp')
-rw-r--r--templates/protocols/bgp/node.tag/neighbor/node.tag/disable/node.def12
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 \" "