X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=csit%2Flibraries%2FSxpLib.robot;h=55d7166529f9db2bea2550fd7f41f5e46a24024f;hb=HEAD;hp=7ee57de3898f5dfb4a0bfae9d185141357034e59;hpb=f510b0ccd238bd3068f38571516d9711d403541a;p=integration%2Ftest.git diff --git a/csit/libraries/SxpLib.robot b/csit/libraries/SxpLib.robot index 7ee57de389..7a3a431029 100644 --- a/csit/libraries/SxpLib.robot +++ b/csit/libraries/SxpLib.robot @@ -362,20 +362,20 @@ Setup SXP Environment Check Node Started [Documentation] Verify that SxpNode has data writen to Operational datastore and is running [Arguments] ${node} ${port}=64999 ${system}=${node} ${session}=session ${ip}=${node} - ${resp} = RequestsLibrary.Get Request + ${resp} = RequestsLibrary.GET On Session ... ${session} ... /restconf/operational/network-topology:network-topology/topology/sxp/node/${node}/ - BuiltIn.Should Be Equal As Strings ${resp.status_code} 200 + ... expected_status=200 ${rc} = Get Node Running Status ${node} ${port} ${system} ${session} ${ip} BuiltIn.Should Be Equal As Strings ${rc} 0 Check Node Stopped [Documentation] Verify that SxpNode has data removed from Operational datastore and is not running [Arguments] ${node} ${port}=64999 ${system}=${node} ${session}=session ${ip}=${node} - ${resp} = RequestsLibrary.Get Request + ${resp} = RequestsLibrary.GET On Session ... ${session} ... /restconf/operational/network-topology:network-topology/topology/sxp/node/${node}/ - BuiltIn.Should Be Equal As Strings ${resp.status_code} 404 + ... expected_status=404 ${rc} = Get Node Running Status ${node} ${port} ${system} ${session} ${ip} BuiltIn.Should Be Equal As Strings ${rc} 1 @@ -403,7 +403,7 @@ Clean SXP Environment Get Routing Configuration From Controller [Documentation] Get Routing configuration from config DS [Arguments] ${session} - ${resp} = RequestsLibrary.Get Request + ${resp} = RequestsLibrary.GET On Session ... ${session} ... /restconf/config/sxp-cluster-route:sxp-cluster-route/ ... headers=${ACCEPT_XML} @@ -424,7 +424,7 @@ Put Routing Configuration To Controller Clean Routing Configuration To Controller [Documentation] Delete Routing configuration from Config DS [Arguments] ${session} - ${resp} = RequestsLibrary.Get Request + ${resp} = RequestsLibrary.GET On Session ... ${session} ... /restconf/config/sxp-cluster-route:sxp-cluster-route/ ... headers=${ACCEPT_XML}