X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=integration%2Ftest.git;a=blobdiff_plain;f=csit%2Fsuites%2Fbgpcep%2Fbgpclustering%2FPrefixcountKeywords.robot;h=63cd186de046f3692abc2c8f6b829f877ff51224;hp=c7486d9022986a40d453056edc92c26dc31fe891;hb=43261e3b35c8a0b8c39f125c3adb9e154e126986;hpb=95c394ac262ddbb39b20681252fa5ec7c0aa5cca diff --git a/csit/suites/bgpcep/bgpclustering/PrefixcountKeywords.robot b/csit/suites/bgpcep/bgpclustering/PrefixcountKeywords.robot index c7486d9022..63cd186de0 100644 --- a/csit/suites/bgpcep/bgpclustering/PrefixcountKeywords.robot +++ b/csit/suites/bgpcep/bgpclustering/PrefixcountKeywords.robot @@ -51,7 +51,7 @@ ${DEVICE_CHECK_TIMEOUT} 60s ${RIB_INSTANCE} example-bgp-rib ${PROTOCOL_OPENCONFIG} ${RIB_INSTANCE} ${BGP_PEER_NAME} example-bgp-peer -${PEER_CHECK_URL} /restconf/operational/bgp-rib:bgp-rib/rib/example-bgp-rib/peer/bgp:%2F%2F +${PEER_CHECK_URL} ${REST_API}/bgp-rib:bgp-rib/rib=example-bgp-rib/peer=bgp:%2F%2F @{SHARD_MONITOR_LIST} default:config default:operational topology:config topology:operational inventory:config inventory:operational *** Keywords *** @@ -117,7 +117,7 @@ Verify_Bgp_Peer_Connection [Documentation] Checks peer presence in operational datastore # TODO: This keyword is not specific to prefix counting. Find a better place for it. ${exp_status_code}= BuiltIn.Set_Variable_If ${connected} ${200} ${404} - ${rsp}= RequestsLibrary.Get Request ${session} ${PEER_CHECK_URL}${peer_ip} + ${rsp}= RequestsLibrary.Get Request ${session} ${PEER_CHECK_URL}${peer_ip}?content=nonconfig BuiltIn.Log ${rsp.content} BuiltIn.Should_Be_Equal_As_Numbers ${exp_status_code} ${rsp.status_code}