BuiltIn.run Keyword And Ignore Error ODLTools.Get EOS ${HA_PROXY_IP}
KarafKeywords.Fail If Exceptions Found During Test ${test_name} fail=${fail}
+Get Suite Debugs
+ Get Test Teardown Debugs test_name=${SUITE_NAME} fail=False
+
Get Test Teardown Debugs For SFC
[Arguments] ${test_name}=${TEST_NAME}
BuiltIn.Run Keyword And Ignore Error DataModels.Get Model Dump ${HA_PROXY_IP} ${netvirt_sfc_data_models}
[Arguments] ${cmd}
[Documentation] Return a json list from the output of an OpenStack command.
@{list} = BuiltIn.Create List
- ${json} = OpenStack CLI ${cmd}
- @{list} = RequestsLibrary.To Json ${json}
+ ${result} = Run Process With Logging And Status Check ${cmd}
+ @{list} = RequestsLibrary.To Json ${result.stdout}
BuiltIn.Log ${list}
[Return] @{list}
BuiltIn.Set Suite Variable @{tcpdump_port_6653_conn_ids}
BuiltIn.Run Keyword If "${PRE_CLEAN_OPENSTACK_ALL}"=="True" OpenStack Cleanup All
OpenStackOperations.Add OVS Logging On All OpenStack Nodes
+ Run_Keyword_If_At_Least_Oxygen Wait Until Keyword Succeeds 60 2 ClusterManagement.Check Status Of Services Is OPERATIONAL @{NETVIRT_DIAG_SERVICES}
ClusterManagement.Dump_Local_Shards_For_Each_Member
Verify Expected Default Tables On Nodes
... to clean up all openstack resources. For example, all instances, networks, ports, etc will be listed and
... and deleted. As other global cleanup tasks are needed, they can be added here and the suites will all
... benefit automatically.
+ # TODO: followup patch will add the list of vms to pass to Show Debugs
+ # OpenStackOperations.Show Debugs @{NET_1_VMS} @{NET_2_VMS}
+ OpenStackOperations.Get Suite Debugs
OpenStack Cleanup All
OpenStackOperations.Stop Packet Capture On Nodes ${tcpdump_port_6653_conn_ids}
SSHLibrary.Close All Connections