summaryrefslogtreecommitdiff
path: root/scripts/VyattaConfigLoad.pm
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@vyatta.com>2008-06-19 17:18:52 -0700
committerStig Thormodsrud <stig@vyatta.com>2008-06-19 17:18:52 -0700
commit4219faf6dc245449b29184953d440fb83d6d3684 (patch)
treefb259706388e379348c89c6c06debea61bcf56a6 /scripts/VyattaConfigLoad.pm
parentc308c149bf09bc9b690672e6bdc80f00c5a84608 (diff)
downloadvyatta-cfg-4219faf6dc245449b29184953d440fb83d6d3684.tar.gz
vyatta-cfg-4219faf6dc245449b29184953d440fb83d6d3684.zip
Add a config ranking to prioritize bgp route-id ahead of neighbors.
Diffstat (limited to 'scripts/VyattaConfigLoad.pm')
-rwxr-xr-xscripts/VyattaConfigLoad.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/VyattaConfigLoad.pm b/scripts/VyattaConfigLoad.pm
index 90011f6..f1339c3 100755
--- a/scripts/VyattaConfigLoad.pm
+++ b/scripts/VyattaConfigLoad.pm
@@ -55,6 +55,7 @@ my %config_rank = (
my %regex_rank = (
'interfaces ethernet \S* vrrp' => 500,
'interfaces ethernet \S* vif \S* vrrp' => 500,
+ 'protocols bgp \d+ parameters' => 810,
'protocols bgp \d+ neighbor \S*[^\d.]\S*' => 800,
);