Capture EOS information of different
entities in teardown logs
Change-Id: I0c3c5d3b419454156ca7c23c23a145cde89df870
Signed-off-by: Vishal Thapar <vthapar@redhat.com>
*** Settings ***
Documentation Robot wrapper around ODLTools.
*** Settings ***
Documentation Robot wrapper around ODLTools.
+Resource ../variables/Variables.robot
BuiltIn.Log rc: ${rc}, output: ${output}
BuiltIn.Should Be True '${rc}' == '0'
[Return] ${output}
BuiltIn.Log rc: ${rc}, output: ${output}
BuiltIn.Should Be True '${rc}' == '0'
[Return] ${output}
+
+Get EOS
+ [Arguments] ${node_ip}=${TOOLS_SYSTEM_IP} ${port}=${RESTCONFPORT}
+ [Documentation] Get the odltools version
+ ${cmd} = BuiltIn.Set Variable odltools show eos -i ${node_ip} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD}
+ ${rc} ${output} = OperatingSystem.Run And Return Rc And Output ${cmd}
+ BuiltIn.Log rc: ${rc}, output: ${output}
+ BuiltIn.Should Be True '${rc}' == '0'
+ [Return] ${output}
Resource DevstackUtils.robot
Resource KarafKeywords.robot
Resource L2GatewayOperations.robot
Resource DevstackUtils.robot
Resource KarafKeywords.robot
Resource L2GatewayOperations.robot
Resource OVSDB.robot
Resource SetupUtils.robot
Resource SSHKeywords.robot
Resource OVSDB.robot
Resource SetupUtils.robot
Resource SSHKeywords.robot
[Arguments] ${test_name}=${SUITE_NAME}.${TEST_NAME}
OpenStackOperations.Get OvsDebugInfo
BuiltIn.Run Keyword And Ignore Error DataModels.Get Model Dump ${HA_PROXY_IP} ${netvirt_data_models}
[Arguments] ${test_name}=${SUITE_NAME}.${TEST_NAME}
OpenStackOperations.Get OvsDebugInfo
BuiltIn.Run Keyword And Ignore Error DataModels.Get Model Dump ${HA_PROXY_IP} ${netvirt_data_models}
+ BuiltIn.run Keyword And Ignore Error ODLTools.Get EOS ${HA_PROXY_IP}
Run Keyword If "${FAIL_ON_EXCEPTIONS}"=="True" KarafKeywords.Fail If Exceptions Found During Test ${test_name}
Get Test Teardown Debugs For SFC
Run Keyword If "${FAIL_ON_EXCEPTIONS}"=="True" KarafKeywords.Fail If Exceptions Found During Test ${test_name}
Get Test Teardown Debugs For SFC