X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=csit%2Fsuites%2Flispflowmapping%2Fperformance%2F010_Southbound_MapRequest.robot;h=96ba70d9fa2b3801f739a0593f620d3ee196cc7e;hb=e33ae18f424593d336417bfdf02d3a77400406ee;hp=0dbff1d42c6d6f29d92061966a7b1589959e3e03;hpb=982a24d0191c1ae6118b8d168cf4ec99164ced19;p=integration%2Ftest.git diff --git a/csit/suites/lispflowmapping/performance/010_Southbound_MapRequest.robot b/csit/suites/lispflowmapping/performance/010_Southbound_MapRequest.robot index 0dbff1d42c..96ba70d9fa 100644 --- a/csit/suites/lispflowmapping/performance/010_Southbound_MapRequest.robot +++ b/csit/suites/lispflowmapping/performance/010_Southbound_MapRequest.robot @@ -8,6 +8,7 @@ Library OperatingSystem Library RequestsLibrary Library String Resource ../../../libraries/Utils.robot +Resource ../../../libraries/LISPFlowMapping.robot Variables ../../../variables/Variables.py *** Variables *** @@ -44,6 +45,7 @@ Generate Map-Request Test Traffic Set Suite Variable ${get_seconds_mreq} Generate Map-Register Test Traffic + Allow Unauthenticated Map-Registers ${result}= Run Process With Logging And Status Check /usr/local/bin/udpreplay --pps ${REPLAY_PPS} --repeat ${REPLAY_CNT} ... --host ${ODL_SYSTEM_IP} --port 4342 ${REPLAY_FILE_MREG} ${partial}= Fetch From Left ${result.stdout} s = @@ -73,6 +75,10 @@ Reset Stats Log ${resp.content} Should Be Equal As Strings ${resp.status_code} 200 +Allow Unauthenticated Map-Registers + ${add_key}= OperatingSystem.Get File ${JSON_DIR}/rpc_add-key_default.json + Post Log Check ${LFM_RPC_API}:add-key ${add_key} + Get Transmitted Map-Requests Stats ${resp}= RequestsLibrary.Post Request session ${LFM_SB_RPC_API}:get-stats Log ${resp.content}