Should Be Equal As Integers ${rc} ${success_return_code} msg=${affinity_group_name} values=False
[Return] ${affinity_group_name}
-
Get Operations By Type
[Documentation] Keyword to get the operation by type
Stop Autoheal VDU\r
Variable Should Exist ${vdu_autoheal_id} msg=VDU is not available\r
Halt Server ${vdu_autoheal_id}\r
- Sleep 20\r
+ Sleep 30\r
\r
\r
Wait For Autohealing To Be Completed\r
- FOR ${Index} IN RANGE 0 15\r
- ${status}= Run Keyword And Return Status Get Operations By Type ${ns_id} heal\r
- Run Keyword If ${status} Exit For Loop\r
- ... ELSE Sleep 10\r
- END\r
- ${stdout}= Get Operations By Type ${ns_id} heal\r
${healing_max_wait_time}= Convert Time ${healing_max_wait_time} result_format=number\r
${healing_max_wait_time}= Evaluate ${healing_max_wait_time} * ${vim_timeout_multiplier}\r
- Wait Until Keyword Succeeds ${healing_max_wait_time} ${healing_pol_time} Check For NS Operation Ended ${stdout}\r
- Check For NS Operation Completed ${stdout}\r
+ Wait Until Keyword Succeeds ${healing_max_wait_time} ${healing_pol_time} Get Operations By Type ${ns_id} heal\r
+ ${stdout}= Get Operations By Type ${ns_id} heal\r
+ Wait Until Keyword Succeeds ${healing_max_wait_time} ${healing_pol_time} Check For NS Operation Ended ${stdout}\r
+ Check For NS Operation Completed ${stdout}\r
\r
\r
Check VNF After Healing\r