config/controllerconfig/controllerconfig
Angie Wang 23505ba77d Fix issue in partition data migration script
The created partition dictonary partition_map is not
an ordered dict so we need to sort it by its key -
device node when iterating it to adjust the device
nodes/paths for user created extra partitions to ensure
the number of device node/path for each extra partition
is calculated correctly, otherwise the adjustments
could be messy that causes the partition DB update to
fail.

Tested AIO-SX upgrade with three additional partitions.

Change-Id: I1cb3bbfaf144a59d29633c1784b0fde80529cd71
Closes-Bug: 1892554
Signed-off-by: Angie Wang <angie.wang@windriver.com>
2021-05-25 21:55:30 -04:00
..
controllerconfig Apply sriov/FEC configuration during SX upgrade 2021-05-22 19:05:50 -05:00
scripts Limit etcd migration to swact actions 2021-05-06 10:09:22 -05:00
upgrade-scripts Fix issue in partition data migration script 2021-05-25 21:55:30 -04:00
.coveragerc StarlingX open source release updates 2018-05-31 07:35:52 -07:00
.gitignore Fix py27 tests in controllerconfig component 2018-09-06 12:27:08 -05:00
.stestr.conf Fix migration scripts execution sequence 2021-02-04 10:53:23 -05:00
.testr.conf StarlingX open source release updates 2018-05-31 07:35:52 -07:00
LICENSE StarlingX open source release updates 2018-05-31 07:35:52 -07:00
pylint.rc Clean up dead code in controllerconfig 2020-01-21 15:32:41 -05:00
requirements.txt StarlingX open source release updates 2018-05-31 07:35:52 -07:00
setup.py Clean up dead code in controllerconfig 2020-01-21 15:32:41 -05:00
test-requirements.txt Fix migration scripts execution sequence 2021-02-04 10:53:23 -05:00
tox.ini Fix migration scripts execution sequence 2021-02-04 10:53:23 -05:00