nfv/nfv/nfv-vim/nfv_vim/database
Yuxing Jiang 6dba3df3e3 Implement system_config_update orchestration
This commit adds VIM orchestration for system config update to drive the
host swact/lock/unlock once these operations are expected to update the
system config.

CLI: sw-manager kube-rootca-update-strategy
    apply create delete show

Test plan:
1. Create a system config udpate strategy successfully. --passed
2. Create a system config update strategy failed if the host resource
doesn't exist. --passed
3. Create a system config update strategy failed if an unexpected alarm
exists and the strategy alarm restrictions is set as strict. --passed
4. Create a system config update strategy successfully if an unexpected
alarm exists and the strategy alarm restrictions is set as relax.
--passed
5. Create a system config update strategy failed if a controller offline
in a DX system. --passed
6. Create a system config update strategy failed if a storage offline in
a standard system. --passed
7. Create a system config update strategy successfully if a worker
offline in a standard system. --passed
8. Apply a system config update strategy successfully. --passed
9. Apply a system config update strategy failed if a host failed to
lock. --passed
10. Delete a system config update strategy successful if a the strategy
is complete or failed. --passed
11. Create a system config update strategy with strategy not required
for the host in k8s, verify the host is excluded from the strategy.

Story: 2010719
Task: 47910

Change-Id: I052bc5b2004f17de870a81c523d0a1f4e422a902
Signed-off-by: Yuxing Jiang <Yuxing.Jiang@windriver.com>
2023-07-17 17:36:44 -04:00
..
model Add support for SQLAlchemy 1.4 to NFV 2023-01-30 21:08:56 +00:00
__init__.py Cleanup tox alphabetical imports in nfv 2018-12-27 11:55:20 -06:00
_database.py py3: nfv wrap dict.keys() in list() 2021-07-26 13:13:11 -04:00
_database_block_storage_module.py Cleanup tox alphabetical imports in nfv 2018-12-27 11:55:20 -06:00
_database_compute_module.py Remove use of storage extra spec from VIM 2019-01-16 12:55:50 -06:00
_database_identity_module.py Cleanup tox alphabetical imports in nfv 2018-12-27 11:55:20 -06:00
_database_image_module.py Cleanup tox alphabetical imports in nfv 2018-12-27 11:55:20 -06:00
_database_infrastructure_module.py Fix patch orchestration controller host unlock failure 2020-06-16 15:26:31 +00:00
_database_migrate.py Bring fw update detect and monitor up to the host level 2020-06-02 09:49:51 -04:00
_database_module.py Clean up imports based on flake8 2018-09-20 16:43:28 -05:00
_database_network_module.py Cleanup tox alphabetical imports in nfv 2018-12-27 11:55:20 -06:00
_database_sw_update.py Implement system_config_update orchestration 2023-07-17 17:36:44 -04:00
_database_upgrades.py Update VIM to use nova API version 2.53 2018-06-14 13:27:26 -05:00