diff options
author | John Estabrook <jestabro@vyos.io> | 2022-05-25 15:33:46 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-25 15:33:46 -0500 |
commit | 7c1cb045ebbfb84668c703dba6c48af60fdcc788 (patch) | |
tree | 2d99d9089e3ad4e1121ab5552ab40ddaae893146 /python | |
parent | ec3a05d3dfda497910d42ad99d28d977312ea7a4 (diff) | |
parent | ac9d01365a9fd41003b4b8427348a3c3102341f5 (diff) | |
download | vyos-1x-7c1cb045ebbfb84668c703dba6c48af60fdcc788.tar.gz vyos-1x-7c1cb045ebbfb84668c703dba6c48af60fdcc788.zip |
Merge pull request #1331 from jestabro/configtest-errors
configtest: T4382: errors exposed by revision of load-config
Diffstat (limited to 'python')
-rw-r--r-- | python/vyos/migrator.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/python/vyos/migrator.py b/python/vyos/migrator.py index a2e0daabd..c6e3435ca 100644 --- a/python/vyos/migrator.py +++ b/python/vyos/migrator.py @@ -105,6 +105,11 @@ class Migrator(object): sys_keys = list(sys_versions.keys()) sys_keys.sort() + # XXX 'bgp' needs to follow 'quagga': + if 'bgp' in sys_keys and 'quagga' in sys_keys: + sys_keys.insert(sys_keys.index('quagga'), + sys_keys.pop(sys_keys.index('bgp'))) + rev_versions = {} for key in sys_keys: |