X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=csit%2Flibraries%2FLISPFlowMapping__Lithium.robot;h=61d1064ac3068e81e5175be5ff33641a8640986e;hb=ed21a490424b14b7ab82618703580c90a6c217da;hp=9eae663efc2a8070da6e5912ae460fa87472bbcc;hpb=d80d4b9d6c2d89d89f7105562de8de986b026f4e;p=integration%2Ftest.git diff --git a/csit/libraries/LISPFlowMapping__Lithium.robot b/csit/libraries/LISPFlowMapping__Lithium.robot index 9eae663efc..61d1064ac3 100644 --- a/csit/libraries/LISPFlowMapping__Lithium.robot +++ b/csit/libraries/LISPFlowMapping__Lithium.robot @@ -1,16 +1,18 @@ *** Settings *** -Documentation This resource file defines keywords that are used in more -... than one lispflowmapping test suite. Those suites include -... ../variables/Variables.py, which is where some of the -... variables are coming from. +Documentation This resource file defines keywords that are used in more +... than one lispflowmapping test suite. Those suites include +... ../variables/Variables.py, which is where some of the +... variables are coming from. + *** Variables *** -${JSON_DIR} ${CURDIR}/../variables/lispflowmapping/Li +${JSON_DIR} ${CURDIR}/../variables/lispflowmapping/Li + *** Keywords *** Authentication Key Should Be - [Arguments] ${resp} ${password} [Documentation] Check if the authentication key in the ${resp} is ${password} + [Arguments] ${resp} ${password} ${authkey}= Get Authentication Key ${resp} Should Be Equal As Strings ${authkey} ${password} @@ -18,11 +20,11 @@ Get Authentication Key [Arguments] ${resp} ${output}= Get From Dictionary ${resp.json()} output ${authkey}= Get From Dictionary ${output} authkey - [Return] ${authkey} + RETURN ${authkey} Ipv4 Rloc Should Be - [Arguments] ${resp} ${address} [Documentation] Check if the RLOC in the ${resp} is ${address} + [Arguments] ${resp} ${address} ${eid_record}= Get Eid Record ${resp} ${loc_record}= Get From Dictionary ${eid_record} LocatorRecord ${loc_record_0}= Get From List ${loc_record} 0 @@ -34,14 +36,14 @@ Get Eid Record ${output}= Get From Dictionary ${resp.json()} output ${eid_record}= Get From Dictionary ${output} eidToLocatorRecord ${eid_record}= Get From List ${eid_record} 0 - [Return] ${eid_record} + RETURN ${eid_record} Get Ipv4 Rloc [Arguments] ${loc_record} ${loc}= Get From Dictionary ${loc_record} LispAddressContainer ${address}= Get From Dictionary ${loc} Ipv4Address ${ipv4}= Get From Dictionary ${address} Ipv4Address - [Return] ${ipv4} + RETURN ${ipv4} Check Mapping Removal [Arguments] ${json}