config/sysinv/cgts-client/cgts-client/cgtsclient
Iago Regiani 775c5c7672 System host-upgrade has inadequate semantic checks
System host-upgrade prompts the user to confirm the operation on a SX
for any hostname typed, this adds validation to the inputted argument
and rejects the command if the hostname or id typed is invalid.

Also added validation to host-downgrade and kube-host-upgrade.

Tested on a SX, changing the cgts-client and the validation was
sucessfull rejecting invalid ids and hostnames.

Closes-bug: #1934806
Signed-off-by: Iago Regiani <Lago.RodriguezRegiani@windriver.com>
Change-Id: Ia7f48fee1204e4e2178ef5a954621725512cc738
2021-07-08 14:57:37 -04:00
..
common Merge "Allow configurable ceph storage backend network" 2021-05-12 13:30:29 +00:00
tests System host-upgrade has inadequate semantic checks 2021-07-08 14:57:37 -04:00
v1 System host-upgrade has inadequate semantic checks 2021-07-08 14:57:37 -04:00
__init__.py Convert cgtsclient from setuptools to pbr. Add tox. 2018-06-28 22:07:37 -04:00
_i18n.py Updates for cgtsclient to work with python3 2020-01-20 13:46:46 -06:00
client.py Specify the nodeset for zuul jobs 2021-05-19 13:51:15 -05:00
exc.py Fix unicode issue for Python 2/3 compatible code. 2018-12-06 12:59:33 +08:00
shell.py Updates for cgtsclient to work with python3 2020-01-20 13:46:46 -06:00