X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=csit%2Flibraries%2FODLTools.robot;h=38691b5c60aa3df7e6a7de30b0d25418326850b9;hb=74c71dc52652103ddbfcdc9258972d7d11b164a5;hp=ae983f4047fcf281fd83450d95f4877afc743e65;hpb=a96c1608fbe75392943549bf790f37411cc43841;p=integration%2Ftest.git diff --git a/csit/libraries/ODLTools.robot b/csit/libraries/ODLTools.robot index ae983f4047..38691b5c60 100644 --- a/csit/libraries/ODLTools.robot +++ b/csit/libraries/ODLTools.robot @@ -19,7 +19,7 @@ Get EOS [Arguments] ${node_ip}=${ODL_SYSTEM_IP} ${port}=${RESTCONFPORT} ${test_name}=${SUITE_NAME}.${TEST_NAME} ${dstdir} = Get Path ${test_name} ${cmd} = BuiltIn.Set Variable - ... odltools netvirt show eos -i ${node_ip} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD} --path ${dstdir} + ... odltools show eos -i ${node_ip} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD} --path ${dstdir} ${rc} ${output} = OperatingSystem.Run And Return Rc And Output ${cmd} BuiltIn.Log rc: ${rc}, output: ${output} BuiltIn.Should Be True '${rc}' == '0' @@ -30,7 +30,7 @@ Get Cluster Info [Arguments] ${port}=${RESTCONFPORT} FOR ${i} IN RANGE ${NUM_ODL_SYSTEM} ${cmd} = BuiltIn.Set Variable - ... odltools netvirt show cluster-info -i ${ODL_SYSTEM_${i+1}_IP} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD} + ... odltools show cluster-info -i ${ODL_SYSTEM_${i+1}_IP} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD} ${output} = OperatingSystem.Run ${cmd} BuiltIn.Log output: ${output} END @@ -40,7 +40,7 @@ Analyze Tunnels [Arguments] ${node_ip}=${ODL_SYSTEM_IP} ${port}=${RESTCONFPORT} ${test_name}=${SUITE_NAME}.${TEST_NAME} ${dstdir} = Get Path ${test_name} ${cmd} = BuiltIn.Set Variable - ... odltools netvirt analyze tunnels -i ${node_ip} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD} --path ${dstdir} + ... odltools analyze tunnels -i ${node_ip} -t ${port} -u ${ODL_RESTCONF_USER} -w ${ODL_RESTCONF_PASSWORD} --path ${dstdir} ${rc} ${output} = OperatingSystem.Run And Return Rc And Output ${cmd} BuiltIn.Log rc: ${rc}, output: ${output} BuiltIn.Should Be True '${rc}' == '0'