X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Flibraries%2Frobot%2Fhoneycomb%2Finterfaces.robot;h=81b5d8204877b4baf14de49190ea89800cacb2ae;hb=bdc400b3feacd10d8130dedaa7df8df2d2d57feb;hp=ea1d2b090b60418056f01a3c056e0538a7da41ea;hpb=4f5f136f8d445c60db38c9f59622f379f04ff3bb;p=csit.git diff --git a/resources/libraries/robot/honeycomb/interfaces.robot b/resources/libraries/robot/honeycomb/interfaces.robot index ea1d2b090b..81b5d82048 100644 --- a/resources/libraries/robot/honeycomb/interfaces.robot +++ b/resources/libraries/robot/honeycomb/interfaces.robot @@ -33,6 +33,7 @@ | | ... | \| up \| | | [Arguments] | ${node} | ${interface} | ${state} | | interfaceCLI.Set interface state | ${node} | ${interface} | ${state} +| | ... | if_type=name | Honeycomb sets interface state | | [Documentation] | Uses Honeycomb API to change the admin state\ @@ -184,9 +185,9 @@ | | Should be equal | ${prefix} | | ... | ${api_data['ietf-ip:ipv4']['address'][0]['prefix-length']} | | Should be equal | ${fib_address} -| | ... | ${api_data['ietf-ip:ipv4']['neighbor'][0]['ip'] +| | ... | ${api_data['ietf-ip:ipv4']['neighbor'][0]['ip']} | | Should be equal | ${fib_mac} -| | ... | ${api_data['ietf-ip:ipv4']['neighbor'][0]['link-layer-address'] +| | ... | ${api_data['ietf-ip:ipv4']['neighbor'][0]['link-layer-address']} | | :FOR | ${key} | IN | @{settings.keys()} | | | Should be equal | | | ... | ${settings['{key']} | ${api_data['ietf-ip:ipv4']['{$key}']} @@ -381,7 +382,8 @@ | | [Arguments] | ${node} | ${interface} | ${ethernet} | ${routing} | | ${api_data}= | interfaceAPI.Get interface oper data | ${node} | ${interface} | | :FOR | ${key} | IN | @{ethernet.keys()} -| | | Should be equal | ${api_data['${key}']} | ${ethernet['${key}']} +| | | Should be equal +| | | ... | ${api_data['v3po:ethernet']['${key}']} | ${ethernet['${key}']} | | :FOR | ${key} | IN | @{routing.keys()} | | | Should be equal | ${api_data['${key}']} | ${routing['${key}']}