X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=csit%2Flibraries%2FSxpClusterLib.robot;h=99fd137ae7c33efdff1675a2c9a72a5f7dd06d62;hb=02dd570f7544c8cd6eb17bda775de9bccc89f923;hp=dec6a0f8b17b22ac3a6a65a5e356d54b0a591f27;hpb=a96c1608fbe75392943549bf790f37411cc43841;p=integration%2Ftest.git diff --git a/csit/libraries/SxpClusterLib.robot b/csit/libraries/SxpClusterLib.robot index dec6a0f8b1..99fd137ae7 100644 --- a/csit/libraries/SxpClusterLib.robot +++ b/csit/libraries/SxpClusterLib.robot @@ -129,10 +129,9 @@ Clean SXP Cluster Check Cluster Node Started [Documentation] Verify that SxpNode has data written to Operational datastore and Node is running on one of cluster nodes [Arguments] ${node} ${port}=64999 ${ip}=${node} - ${resp} = RequestsLibrary.Get Request + ${resp} = RequestsLibrary.GET On Session ... ${CONTROLLER_SESSION} - ... /restconf/operational/network-topology:network-topology/topology/sxp/node/${node}/ - BuiltIn.Should Be Equal As Strings ${resp.status_code} 200 + ... /restconf/operational/network-topology:network-topology/topology/sxp/node/${node}/ expected_status=200 ${started} = BuiltIn.Set Variable ${False} FOR ${i} IN RANGE ${NUM_ODL_SYSTEM} ${rc} = Utils.Run Command On Remote System @@ -148,10 +147,10 @@ Check Cluster Node Started Check Cluster Node Stopped [Documentation] Verify that SxpNode has data removed from Operational datastore and Node is stopped [Arguments] ${node} ${port}=64999 ${ip}=${node} - ${resp} = RequestsLibrary.Get Request + ${resp} = RequestsLibrary.GET On Session ... ${CONTROLLER_SESSION} ... /restconf/operational/network-topology:network-topology/topology/sxp/node/${node}/ - BuiltIn.Should Be Equal As Strings ${resp.status_code} 404 + ... expected_status=404 ${stopped} = BuiltIn.Set Variable ${False} FOR ${i} IN RANGE ${NUM_ODL_SYSTEM} ${rc} = Utils.Run Command On Remote System