summaryrefslogtreecommitdiff
path: root/lib/Vyatta
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-02-08 15:42:07 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-02-08 15:44:41 -0800
commitc1d6c408046e0f7331d8ddb55a88b71ff7cc0f96 (patch)
treee5fec178d8e561146e2ce551444ffcb5ea137c6f /lib/Vyatta
parent2dacad150a55cf35514d5de4e89312603e1a4ce3 (diff)
downloadvyatta-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-xlib/Vyatta/ConfigLoad.pm17
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 = (