fixed Issue with sanity check availability
check availability before triggering subcloud manage command Change-Id: I242d29c5e2ad66af2779afde939e78b095a9a31e Signed-off-by: Abhishek jaiswal <abhishek.jaiswal@windriver.com>
This commit is contained in:
parent
6ab3d01595
commit
3a545bae61
@ -26,6 +26,9 @@ def subcloud_add(subcloud_name: str):
|
||||
ssh_connection = LabConnectionKeywords().get_active_controller_ssh()
|
||||
dcm_sc_add_kw = DcManagerSubcloudAddKeywords(ssh_connection)
|
||||
dcm_sc_add_kw.dcmanager_subcloud_add(subcloud_name)
|
||||
# check for the subcloud online status before trigerring the manage command
|
||||
dcm_sc_list_kw = DcManagerSubcloudListKeywords(ssh_connection)
|
||||
dcm_sc_list_kw.validate_subcloud_availability_status(subcloud_name)
|
||||
dcmanager_subcloud_manage_keywords = DcManagerSubcloudManagerKeywords(ssh_connection)
|
||||
# Record the start time for to know the transition time
|
||||
start_time = time.time()
|
||||
|
Loading…
x
Reference in New Issue
Block a user