X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=csit%2Flibraries%2FDIDMKeywords.robot;h=a42e047ccc8705802317c1df494d0d89ecd013f7;hb=3497207f512935aec439730e89fc5d27ff493852;hp=2d6f0c920ff858c612c716fcf2dca5fca71041e6;hpb=94651ca9711d8eb316721775561e815830bc6c7e;p=integration%2Ftest.git diff --git a/csit/libraries/DIDMKeywords.robot b/csit/libraries/DIDMKeywords.robot index 2d6f0c920f..a42e047ccc 100644 --- a/csit/libraries/DIDMKeywords.robot +++ b/csit/libraries/DIDMKeywords.robot @@ -5,20 +5,21 @@ Library Collections Library RequestsLibrary Variables ../variables/Variables.py Resource ./Utils.robot +Resource ../variables/openflowplugin/Variables.robot *** Keywords *** Check DIDM Registered With Device [Documentation] Check for DIDM registered with the device - ${resp}= RequestsLibrary.Get Request session ${OPERATIONAL_NODES_API} + ${resp}= RequestsLibrary.Get Request session ${RFC8040_OPERATIONAL_NODES_API} Should Be Equal As Strings ${resp.status_code} 200 - Log ${resp.content} - Should Contain ${resp.content} didm - [Return] ${resp.content} + Log ${resp.text} + Should Contain ${resp.text} didm + [Return] ${resp.text} Find Device Data [Documentation] Extract device information - ${resp.content}= Check DIDM Registered With Device - ${json_resp}= RequestsLibrary.To_Json ${resp.content} + ${resp.text}= Check DIDM Registered With Device + ${json_resp}= RequestsLibrary.To_Json ${resp.text} ${nodes_resp}= Get From Dictionary ${json_resp} nodes ${node_resp}= Get From Dictionary ${nodes_resp} node ${node_data}= Get From List ${node_resp} 0