diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-02-28 14:51:18 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-02-28 14:51:18 -0800 |
commit | 6194a4338de8e612b925530265db0759a94814c4 (patch) | |
tree | b36d151b319a6f35149c8c47e4c0ccd197a2f97c /scripts/VyattaConfigLoad.pm | |
parent | c1f98db047844f6f0f558ddca554b9b21f71ff49 (diff) | |
download | vyatta-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-x | scripts/VyattaConfigLoad.pm | 21 |
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 = (); |