nfv/nfv/nfv-tests/nfv_unit_tests
albailey 04797d6c7f Kube rootca update orchestration integration
Updates to orchestration based on recent sysinv commits.

"Kube rootca update abort - API"
 -  changed the URL from /upload to /upload_cert
 - introduced a new state which requires the vim state
 machine to be updated to support resume from that state
 (it goes from abort to start)
 - required changes to how the the 'complete' step was invoked .

"CLIs for kube rootca update procedure"
-  changed the values for the states used by kube rootca
 update orchestration.

Improvements:
 - The subject and expiry_date validation is duplicated in the
VIM so the strategy does not need to be run to see if the inputs
are valid.
Note: if the strategy is created with a valid expiry date, and
not applied until after the date becomes invalid, that will not
be caught until that step is processed.

 - The Client was converting the error strings to lower case before
displaying them.  This made it very difficult to determine the
expected fields for things like certificate subject.

 - upload_cert option for the VIM now works.
Note: the path to the cert should be accessible from both controllers
otherwise it may fail to upload after a SWACT.

Story: 2008675
Task: 43131
Depends-On: https://review.opendev.org/c/starlingx/config/+/805375
Depends-On: https://review.opendev.org/c/starlingx/config/+/805878
Signed-off-by: albailey <Al.Bailey@windriver.com>
Change-Id: Ia27b65ba5142516d5a62c5225c8498997367fd6e
2021-09-02 12:53:36 -05:00
..
test_data Bring fw update detect and monitor up to the host level 2020-06-02 09:49:51 -04:00
tests Kube rootca update orchestration integration 2021-09-02 12:53:36 -05:00
README StarlingX open source release updates 2018-05-31 07:36:51 -07:00
__init__.py StarlingX open source release updates 2018-05-31 07:36:51 -07:00
setup.py Clean up imports based on flake8 2018-09-20 16:43:28 -05: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).
#