X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=csit%2Flibraries%2FBGPSpeaker.robot;h=1cfcc73060edbe73026f5a237d08ae3a208534ad;hb=fa78d655ff6121f2b34e36ccec67a6c70dec7b76;hp=f1a1d62a63c3c6bb8e9903130fc62e5e4d870dd4;hpb=a5e7e4e1ca473faadeda091f3fc23cad43de8f94;p=integration%2Ftest.git diff --git a/csit/libraries/BGPSpeaker.robot b/csit/libraries/BGPSpeaker.robot index f1a1d62a63..1cfcc73060 100644 --- a/csit/libraries/BGPSpeaker.robot +++ b/csit/libraries/BGPSpeaker.robot @@ -62,10 +62,10 @@ Start_BGP_Speaker_And_Verify_Connected Verify_BGP_Speaker_Connection [Documentation] Verifies peer's presence in bgp rib. [Arguments] ${session} ${ip} ${connected}=${True} - ${exp_status_code}= BuiltIn.Set_Variable_If ${connected} ${200} ${404} + ${exp_status_code}= BuiltIn.Set_Variable_If ${connected} 200 404 ${url}= BuiltIn.Set_Variable ... ${REST_API}/bgp-rib:bgp-rib/rib=example-bgp-rib/peer=bgp:%2F%2F${ip}?content=nonconfig - ${response}= RequestsLibrary.GET On Session ${session} ${url} expected_status=${exp_status_code} + ${response}= RequestsLibrary.GET On Session ${session} url=${url} expected_status=${exp_status_code} RETURN ${response.content} Start_BGP_Manager