nfv/nfv/nfv-tests/nfv_unit_tests
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
..
test_data Bring fw update detect and monitor up to the host level 2020-06-02 09:49:51 -04:00
tests Implement system_config_update orchestration 2023-07-17 17:36:44 -04:00
README StarlingX open source release updates 2018-05-31 07:36:51 -07:00
setup.py Fix relative imports in nfv 2023-01-24 22:16:39 +00:00

README

#
# Copyright (c) 2015-2016 Wind River Systems, Inc.
#
# SPDX-License-Identifier: Apache-2.0
#

# Tox (http://tox.testrun.org/) is a tool for running tests in multiple
# virtual environments.  To use it, "pip install tox" and then run "tox"
# from this directory (where the nfv_unit_tests are located).
#