summaryrefslogtreecommitdiff
path: root/templates/protocols/bgp/node.def
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@io.vyatta.com>2009-02-16 18:02:17 -0800
committerStig Thormodsrud <stig@io.vyatta.com>2009-02-16 18:02:17 -0800
commitc45f7b9f8daae3b96c76fac3363a507c22b9d9f3 (patch)
treeb8e46d0fe080426aaa9beca23cd843a0212ee73f /templates/protocols/bgp/node.def
parent0f4a6d1a24f937aafc6ba2014c94dc42cf9251eb (diff)
parent5205f4cd0d68a78c86fce6588f9c276861bb9cdd (diff)
downloadvyatta-cfg-quagga-c45f7b9f8daae3b96c76fac3363a507c22b9d9f3.tar.gz
vyatta-cfg-quagga-c45f7b9f8daae3b96c76fac3363a507c22b9d9f3.zip
Merge branch 'jenner' of http://git.vyatta.com/vyatta-cfg-quagga into jenner
Diffstat (limited to 'templates/protocols/bgp/node.def')
-rw-r--r--templates/protocols/bgp/node.def8
1 files changed, 0 insertions, 8 deletions
diff --git a/templates/protocols/bgp/node.def b/templates/protocols/bgp/node.def
index ca1ae005..520da78f 100644
--- a/templates/protocols/bgp/node.def
+++ b/templates/protocols/bgp/node.def
@@ -5,15 +5,7 @@ comp_help: \1 <1-4294967294>\tAS number
syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 4294967294 ; \
"AS number must be between 1 and 4294967294"
-create: if [ $(pgrep -c -x vyatta-bgpd) -eq 0 ]
- then ${vyatta_sbindir}/vyatta-protocol start bgpd
- fi
- vyatta-vtysh -c "configure terminal" -c "router bgp $VAR(@)"
update: vyatta-vtysh -c "configure terminal" -c "router bgp $VAR(@)" \
-c "bgp network import-check"
-delete: vyatta-vtysh -c "configure terminal" -c "no router bgp $VAR(@)"
- if ! ${vyatta_sbindir}/vyatta-check-typeless-node.pl "protocols bgp"
- then ${vyatta_sbindir}/vyatta-protocol stop bgpd
- fi