summaryrefslogtreecommitdiff
path: root/scripts/VyattaConfigLoad.pm
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-02-28 14:51:18 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-02-28 14:51:18 -0800
commit6194a4338de8e612b925530265db0759a94814c4 (patch)
treeb36d151b319a6f35149c8c47e4c0ccd197a2f97c /scripts/VyattaConfigLoad.pm
parentc1f98db047844f6f0f558ddca554b9b21f71ff49 (diff)
downloadvyatta-cfg-6194a4338de8e612b925530265db0759a94814c4.tar.gz
vyatta-cfg-6194a4338de8e612b925530265db0759a94814c4.zip
Read qos-policy before setting interface qos-policy
Bugfix: 2914 Fix ordering of operations for qos-policy.
Diffstat (limited to 'scripts/VyattaConfigLoad.pm')
-rwxr-xr-xscripts/VyattaConfigLoad.pm21
1 files changed, 11 insertions, 10 deletions
diff --git a/scripts/VyattaConfigLoad.pm b/scripts/VyattaConfigLoad.pm
index c09616d..a88d14d 100755
--- a/scripts/VyattaConfigLoad.pm
+++ b/scripts/VyattaConfigLoad.pm
@@ -9,16 +9,17 @@ use VyattaConfig;
# configuration ordering. higher rank configured before lower rank.
my $default_rank = 0;
-my %config_rank = (
- 'interfaces' => 100,
- 'interfaces bridge' => 99,
- 'interfaces ethernet' => 98,
- 'interfaces tunnel' => 91,
- 'system' => 90,
- 'protocols static' => 85,
- 'service ssh' => 84,
- 'service telnet' => 83,
- );
+my %config_rank = (
+ 'qos-policy' => 110,
+ 'interfaces' => 100,
+ 'interfaces bridge' => 99,
+ 'interfaces ethernet' => 98,
+ 'interfaces tunnel' => 91,
+ 'system' => 90,
+ 'protocols static' => 85,
+ 'service ssh' => 84,
+ 'service telnet' => 83,
+);
my @all_nodes = ();
my @all_naked_nodes = ();