summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-06-03 11:30:57 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-07-09 16:50:06 -0700
commit3b3fc34c6d6cb71b1cb00edee2cd12a96ee772ec (patch)
tree164f6e47cd52b9e483aa4dac2dfe76e335cda1d4 /templates
parentad613a41773adf48e909fd13af26e63aaaf1488b (diff)
downloadvyatta-cfg-quagga-3b3fc34c6d6cb71b1cb00edee2cd12a96ee772ec.tar.gz
vyatta-cfg-quagga-3b3fc34c6d6cb71b1cb00edee2cd12a96ee772ec.zip
Use bgpd default import-check flag
Move the default import-check enabled from template to command line option in bgpd. This resolves some of the startup issues. (cherry picked from commit a1d23a42ef83968222b0744505986db3e02b0ae8)
Diffstat (limited to 'templates')
-rw-r--r--templates/protocols/bgp/node.def6
1 files changed, 2 insertions, 4 deletions
diff --git a/templates/protocols/bgp/node.def b/templates/protocols/bgp/node.def
index 9a430834..27d29523 100644
--- a/templates/protocols/bgp/node.def
+++ b/templates/protocols/bgp/node.def
@@ -5,9 +5,7 @@ comp_help: \1 <1-4294967294>\tAS number
syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 4294967294 ; \
"AS number must be between 1 and 4294967294"
begin: sudo /opt/vyatta/sbin/quagga-manager start bgpd
-# we need to set default parameters in BGP here since we can't do it in
-# startup scripts as we don't know the AS number at that point
-create: vyatta-vtysh -c "configure terminal" -c "router bgp $VAR(@)" \
- -c "bgp network import-check"
+create: vyatta-vtysh -c "configure terminal" -c "router bgp $VAR(@)"
delete: vyatta-vtysh -c "configure terminal" -c "no router bgp $VAR(@)"
+