diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-02-08 15:42:07 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-02-08 15:44:41 -0800 |
commit | c1d6c408046e0f7331d8ddb55a88b71ff7cc0f96 (patch) | |
tree | e5fec178d8e561146e2ce551444ffcb5ea137c6f /lib/Vyatta | |
parent | 2dacad150a55cf35514d5de4e89312603e1a4ce3 (diff) | |
download | vyatta-cfg-c1d6c408046e0f7331d8ddb55a88b71ff7cc0f96.tar.gz vyatta-cfg-c1d6c408046e0f7331d8ddb55a88b71ff7cc0f96.zip |
Change order of config load
OSPF and RIP have to be started before interfaces
Diffstat (limited to 'lib/Vyatta')
-rwxr-xr-x | lib/Vyatta/ConfigLoad.pm | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/lib/Vyatta/ConfigLoad.pm b/lib/Vyatta/ConfigLoad.pm index 5903701..0a53be3 100755 --- a/lib/Vyatta/ConfigLoad.pm +++ b/lib/Vyatta/ConfigLoad.pm @@ -32,11 +32,14 @@ use Vyatta::Config; # configuration ordering. higher rank configured before lower rank. my $default_rank = 0; my %config_rank = ( - 'qos-policy' => 1100, - 'firewall group' => 1021, - 'firewall' => 1020, - 'service nat' => 1010, - 'system host-name' => 1005, + 'qos-policy' => 1110, + 'firewall group' => 1100, + 'firewall' => 1090, + 'service nat' => 1080, + 'system host-name' => 1070, + 'protocols ospf parameters' => 1060, + 'protocols ospf' => 1055, + 'protocols rip' => 1050, 'interfaces' => 1000, 'interfaces bridge' => 990, 'interfaces bonding' => 995, @@ -51,11 +54,7 @@ my %config_rank = ( 'service telnet' => 830, 'policy' => 820, 'protocols bgp' => 790, - 'protocols ospf parameters' => 785, - 'protocols ospf' => 780, - 'protocols rip' => 770, 'vpn' => 600, - ); my %regex_rank = ( |