X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Flibraries%2Frobot%2Fhoneycomb%2Fl2_fib.robot;h=d103d41de6786060c1e68389b0c243de57e17aee;hb=1469b71f48bb4e397ebaa65fbaf0512be691ec49;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..d103d41de6 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 \ @@ -150,9 +149,9 @@ | | ... | Modify L2 FIB Entry | | ... | ${node} | ${bd_name} | ${mac} | ${param} | ${value} -| L2 FIB entry from VAT should be +| L2 FIB entry from PAPI 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 @@ -160,28 +159,28 @@ | | ... | - l2_fib_ref_data - L2 FIB entry referential data. Type: dictionay | | ... | | ... | *Example:* -| | ... | \| L2 FIB entry from VAT should be \ +| | ... | \| L2 FIB entry from PAPI should be \ | | ... | \| ${nodes['DUT1']} \| test_bd \| ${l2_fib_forward_oper} \| | | ... | | [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 +| L2 FIB Table from PAPI 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 | | ... | - bd_index - Index of the bridge domain. Type: integer | | ... | | ... | *Example:* -| | ... | \| L2 FIB Table from VAT should be empty \ +| | ... | \| L2 FIB Table from PAPI should be empty \ | | ... | \| ${nodes['DUT1']} \| test_bd \| | | ... | | [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}