X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=resources%2Flibraries%2Frobot%2Fhoneycomb%2Fl2_fib.robot;h=6889fb2af4ac45cc6391924c30d727810f7b8e0a;hb=81853d468a1ff40b0e03343b73412aff96a46dd0;hp=e63f299d1163bac471d8d0c608f33d10c0368cdd;hpb=95253bdf705a06ec01c2a04f437bae2ef23355c3;p=csit.git diff --git a/resources/libraries/robot/honeycomb/l2_fib.robot b/resources/libraries/robot/honeycomb/l2_fib.robot index e63f299d11..6889fb2af4 100644 --- a/resources/libraries/robot/honeycomb/l2_fib.robot +++ b/resources/libraries/robot/honeycomb/l2_fib.robot @@ -12,10 +12,9 @@ # limitations under the License. *** Settings *** -| Library | resources.libraries.python.L2Util | Library | resources.libraries.python.honeycomb.HcAPIKwBridgeDomain.BridgeDomainKeywords | Library | resources.libraries.python.honeycomb.HcAPIKwInterfaces.InterfaceKeywords -| ... | WITH NAME | InterfaceAPI +| Resource | resources/libraries/robot/honeycomb/papi.robot *** Keywords *** | Honeycomb adds L2 FIB entry to bridge domain @@ -70,7 +69,7 @@ | | ... | | ${l2_fib_data}= | Get L2 FIB Entry | ${node} | ${bd_name} | | ... | ${l2_fib_ref_data['phys-address']} -| | interfaceAPI.Compare Data Structures | ${l2_fib_data} | ${l2_fib_ref_data} +| | Compare Data Structures | ${l2_fib_data} | ${l2_fib_ref_data} | Honeycomb removes L2 FIB entry | | [Documentation] | Remove the specified L2 FIB entry from the bridge \ @@ -152,7 +151,7 @@ | L2 FIB entry from VAT should be | | [Documentation] | Retrieves the operational data about the specified L2 \ -| | ... | FIB entry using VAT and checks if it is as expected. +| | ... | FIB entry using Python API and checks if it is as expected. | | ... | | ... | *Arguments:* | | ... | - node - Information about a DUT node. Type: dictionary @@ -165,13 +164,13 @@ | | ... | | [Arguments] | ${node} | ${bd_index} | ${l2_fib_ref_data} | | ... -| | ${l2_fib_data}= | Get L2 FIB entry VAT | ${node} | ${bd_index} +| | ${l2_fib_data}= | Get L2 FIB entry PAPI | ${node} | ${bd_index} | | ... | ${l2_fib_ref_data['mac']} -| | interfaceAPI.Compare Data Structures | ${l2_fib_data} | ${l2_fib_ref_data} +| | Compare Data Structures | ${l2_fib_data} | ${l2_fib_ref_data} | L2 FIB Table from VAT should be empty | | [Documentation] | Check if the L2 FIB table in the specified bridge domain \ -| | ... | is empty. VAT is used to get operational data. +| | ... | is empty. Python API is used to get operational data. | | ... | | ... | *Arguments:* | | ... | - node - Information about a DUT node. Type: dictionary @@ -183,5 +182,5 @@ | | ... | | [Arguments] | ${node} | ${bd_index} | | ... -| | ${l2_fib_data}= | Get L2 FIB table VAT | ${node} | ${bd_index} +| | ${l2_fib_data}= | Get L2 FIB table PAPI | ${node} | ${bd_index} | | Should be empty | ${l2_fib_data}