378e2010fe
This commit add some changes on deploy host-list. Adds a function to query the hostnames from sysinv to deploy host-list entities during deploy start. Changes endpoint to GET verb, the endpoint return in case of no deployment in progress it will an empty list and at CLI will print "No deploy in progress." In case there is a deployment in progress the CLI will behave the same but the endpoint will return the data below: [{'hostname': '<hostname>', 'software_release': '<sw_version>', 'target_release': '<sw_version>', 'reboot_required': 'str<true/false>', 'host_state': '<host_deploy_state>'}] This commit also changes the wait_for_install_complete function to follow the new state logic. Note: Software deploy host is affected by this change related to states and will need a future commit regarding state changes during deploy start and deploy host itself. Test Plan: PASS: Software deploy host-list with/without deployment in progress. PASS: Deploy_host creation/update/get/delete. PASS: Collect hostnames to deploy host entities during deploy start. Story: 2010676 Task: 49586 Change-Id: I7b03df30fd8e326637a3ffc031e0fdf543cb6356 Signed-off-by: Luis Eduardo Bonatti <LuizEduardo.Bonatti@windriver.com> |
||
---|---|---|
api-ref/source | ||
apt-ostree/debian | ||
cgcs-patch | ||
devstack | ||
doc | ||
enable-dev-patch | ||
extras/scripts | ||
patch-alarm | ||
patch-boot-args | ||
patch-scripts | ||
releasenotes | ||
software | ||
software-client | ||
sw-patch | ||
.gitignore | ||
.gitreview | ||
.zuul.yaml | ||
CONTRIBUTORS.wrs | ||
LICENSE | ||
README.rst | ||
bindep.txt | ||
centos_build_layer.cfg | ||
centos_dev_wheels.inc | ||
centos_iso_image.inc | ||
centos_pkg_dirs | ||
centos_stable_wheels.inc | ||
debian_build_layer.cfg | ||
debian_iso_image.inc | ||
debian_pkg_dirs | ||
debian_stable_wheels.inc | ||
pylint.rc | ||
requirements.txt | ||
test-requirements.txt | ||
tox.ini |
README.rst
stx-update
StarlingX Software Management