nfv/nfv/nfv-plugins/nfv_plugins/nfvi_plugins
Al Bailey c908b9625d Remove polling from two kube upgrade steps
The kube-upgrade strategy invokes a synchronous POST
operation to start and cleanup a kubernetes upgrade.
kube-upgrade-start takes about 3 seconds.
kube-upgrade-complete takes about one second.

The old code would ignore the results of those REST API
calls, and enter a polling mode to check the host state.
This could take up to two minutes to complete.

Polling is un-neccessary (for these steps), and by using
the results from the NFV plugin being invoked, the step
can quickly be completed.

This reduces the time of a kube-upgrade strategy by
over three minutes.

Test Plan:
  PASS: AIO-SX kube upgrade

Story: 2010565
Task: 48152
Signed-off-by: Al Bailey <al.bailey@windriver.com>
Change-Id: Icb511e70eea445b0d07a139d437e018fb3c505f3
2023-05-30 19:04:08 +00:00
..
clients pylint cleanup for nfv to use standard modules 2023-03-15 15:28:54 +00:00
openstack Remove polling from two kube upgrade steps 2023-05-30 19:04:08 +00:00
__init__.py StarlingX open source release updates 2018-05-31 07:36:51 -07:00
config.ini Increase sysinv API timeout from 45 to 60 seconds 2022-08-18 15:35:17 +00:00
config.py Add support for containerized keystone to VIM 2018-10-03 08:29:08 -05:00
nfvi_block_storage_api.py Refactor nova service creation in the VIM 2019-01-11 09:23:54 -06:00
nfvi_compute_api.py Debian: Fix nova actions 2023-02-03 08:53:52 -03:00
nfvi_fault_mgmt_api.py add NFVFaultMgmtAPI to get alarms from fm in pods 2019-06-05 09:29:57 +08:00
nfvi_guest_api.py py3: Fix http server request handler wfile write parameter 2021-07-26 13:12:58 -04:00
nfvi_identity_api.py Refactor nova service creation in the VIM 2019-01-11 09:23:54 -06:00
nfvi_image_api.py Refactor nova service creation in the VIM 2019-01-11 09:23:54 -06:00
nfvi_infrastructure_api.py Add host cordon steps to kube upgrade orch 2023-05-19 18:47:22 +00:00
nfvi_network_api.py Remove kubernetes checks, wrs-headers from Rest API calls, and dead code. 2019-04-09 15:01:16 -04:00
nfvi_sw_mgmt_api.py py3: nfv wrap dict.keys() in list() 2021-07-26 13:13:11 -04:00
unit_test.py Remove kubernetes checks, wrs-headers from Rest API calls, and dead code. 2019-04-09 15:01:16 -04:00