nfv/nfv/nfv-tests/nfv_unit_tests
albailey 90b480c345 Kubernetes Upgrade Orchestration
Provides the new CLI command:
  sw-manager kube-upgrade-strategy

VIM build stages are:
 - query-alarms
 - query-kube-upgrade
 - query-kube-versions
 - query-patches
 - query-patch-hosts

VIM apply stages are:
 - kube-upgrade-start
 - download images
 - first control plane
 - networking
 - second control plane
 - apply second kubernetes patch
  -- applies the patch
  -- host-install on each controller
  -- host-install on each storage
  -- host-install on each worker
 - kubelets (controllers)
 - kubelets (workers)
 - complete
 - cleanup

Functionality includes:
 - kube-upgrade API endpoint for orchestration.
 - new rpc messages for create kube strategy and intermediate actions.
 - kube-upgrade event handling, as well as alarm and event logs.
 - 'upgrade start' uses the latest sysinv health api to include
 the vim auto apply alarm in the ignore list for the health check.

New unit tests:
 - build strategy phase
 - simplex controller
 - duplex controller (no existing kube upgrade)

Story: 2008137
Task: 41436
Depends-On: https://review.opendev.org/c/starlingx/fault/+/767374
Depends-On: https://review.opendev.org/c/starlingx/stx-puppet/+/775824
Signed-off-by: albailey <Al.Bailey@windriver.com>
Change-Id: I36e1b3ff3550a9d656ba40754b47570acc82a525
2021-03-02 07:45:20 -06:00
..
test_data Bring fw update detect and monitor up to the host level 2020-06-02 09:49:51 -04:00
tests Kubernetes Upgrade Orchestration 2021-03-02 07:45:20 -06: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).
#