X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Flibraries%2Frobot%2Fhoneycomb%2Fnat.robot;h=c02507f412a4f99ff6a925d5cd6718645b0f8f0a;hb=1469b71f48bb4e397ebaa65fbaf0512be691ec49;hp=81bffe66d761e4d1e4c30791296d5653118f0eb7;hpb=a114591eac9f52502048db886da2fb228c62254d;p=csit.git diff --git a/resources/libraries/robot/honeycomb/nat.robot b/resources/libraries/robot/honeycomb/nat.robot index 81bffe66d7..c02507f412 100644 --- a/resources/libraries/robot/honeycomb/nat.robot +++ b/resources/libraries/robot/honeycomb/nat.robot @@ -14,7 +14,6 @@ *** Settings *** | Library | resources.libraries.python.honeycomb.HcAPIKwInterfaces.InterfaceKeywords | Library | resources.libraries.python.honeycomb.NAT.NATKeywords -| Library | resources.libraries.python.NAT.NATUtil | Documentation | Keywords used to test Honeycomb NAT node. *** Keywords *** @@ -66,23 +65,7 @@ | | [Arguments] | ${node} | ${settings} | ${instance}=0 | | ${data}= | Get NAT Oper data | ${node} | | ${data}= | Set Variable -| | ... | ${data['nat-instances']['nat-instance'][${instance}]['mapping-table']} -| | Compare data structures | ${data} | ${settings} - -| NAT entries from VAT should be -| | [Documentation] | Uses VPP test API to retrieve NAT entries\ -| | ... | and compares against expected settings. -| | ... -| | ... | *Arguments:* -| | ... | - node - information about a DUT node. Type: dictionary -| | ... | - settings - NAT entry to expect. Type: dictionary -| | ... -| | ... | *Example:* -| | ... -| | ... | \| NAT entries from VAT should be \| ${nodes['DUT1']} \ -| | ... | \| ${settings} \| -| | [Arguments] | ${node} | ${settings} -| | ${data}= | VPP get NAT static mappings | ${node} +| | ... | ${data['instances']['instance'][${instance}]['mapping-table']} | | Compare data structures | ${data} | ${settings} | Honeycomb configures NAT on interface