X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Frobot%2Fhoneycomb%2Fport_mirroring.robot;fp=resources%2Flibraries%2Frobot%2Fhoneycomb%2Fport_mirroring.robot;h=64faa5e233edf6e0f4e150d2f6e4036b6a8a5135;hp=63fbcea7a08460513cdb9bb3a3c22a59ab88da09;hb=b7f0c133f672b39b49e0480f71dd0629986bcf72;hpb=41bded220766aad6f805a9864ef677abe9ff9004 diff --git a/resources/libraries/robot/honeycomb/port_mirroring.robot b/resources/libraries/robot/honeycomb/port_mirroring.robot index 63fbcea7a0..64faa5e233 100644 --- a/resources/libraries/robot/honeycomb/port_mirroring.robot +++ b/resources/libraries/robot/honeycomb/port_mirroring.robot @@ -13,7 +13,6 @@ *** Settings *** | Library | resources.libraries.python.honeycomb.HcAPIKwInterfaces.InterfaceKeywords -| ... | WITH NAME | InterfaceAPI | Library | resources.libraries.python.telemetry.SPAN | Library | resources.libraries.python.InterfaceUtil | Library | resources.libraries.python.IPv4Util @@ -39,7 +38,7 @@ | | ... | \| {'iface-ref': 'local0', 'state': 'both'}] \| | | ... | | [Arguments] | ${node} | ${dst_interface} | @{src_interfaces} -| | InterfaceAPI.Configure interface SPAN +| | Configure interface SPAN | | ... | ${node} | ${dst_interface} | ${src_interfaces} | Interface SPAN Operational Data From Honeycomb Should Be @@ -58,7 +57,7 @@ | | ... | \| ${nodes['DUT1']} \| GigabitEthernet0/8/0 \| GigabitEthernet0/9/0 \| | | ... | | [Arguments] | ${node} | ${dst_interface} | @{src_interfaces} -| | ${data}= | InterfaceAPI.Get interface oper data | ${node} | ${dst_interface} +| | ${data}= | Get interface oper data | ${node} | ${dst_interface} | | ${data}= | Set Variable | | ... | ${data['v3po:span']['mirrored-interfaces']['mirrored-interface']} | | Sort list | ${data} @@ -118,7 +117,7 @@ | | ... | \| ${nodes['DUT1']} \| GigabitEthernet0/8/0 \| | | ... | | [Arguments] | ${node} | ${dst_interface} -| | InterfaceAPI.Configure interface SPAN | ${node} | ${dst_interface} +| | Configure interface SPAN | ${node} | ${dst_interface} | Interface SPAN Operational Data from Honeycomb should not exist | | [Documentation] | Retrieves interface operational data and verifies that\ @@ -132,7 +131,7 @@ | | ... | | ... | \| | | [Arguments] | ${node} | ${dst_interface} -| | ${data}= | InterfaceAPI.Get interface oper data | ${node} | ${dst_interface} +| | ${data}= | Get interface oper data | ${node} | ${dst_interface} | | Run keyword and expect error | *KeyError* | Set Variable | | ... | ${data['span']['mirrored-interfaces']['mirrored-interface']} @@ -169,7 +168,7 @@ | | ... | \| {'iface-ref': 'local0', 'state': 'both'}] \| | | ... | | [Arguments] | ${node} | ${dst_interface} | ${index} | @{src_interfaces} -| | InterfaceAPI.Configure sub interface SPAN +| | Configure sub interface SPAN | | ... | ${node} | ${dst_interface} | ${index} | ${src_interfaces} | Sub-Interface SPAN Operational Data from Honeycomb should be @@ -190,7 +189,7 @@ | | ... | \| GigabitEthernet0/9/0 \| | | ... | | [Arguments] | ${node} | ${dst_interface} | ${index} | @{src_interfaces} -| | ${data}= | InterfaceAPI.Get sub interface oper data +| | ${data}= | Get sub interface oper data | | ... | ${node} | ${dst_interface} | ${index} | | ${data}= | Set Variable | | ... | ${data['subinterface-span:span-state']['mirrored-interfaces']['mirrored-interface']} @@ -232,7 +231,7 @@ | | ... | \| ${nodes['DUT1']} \| GigabitEthernet0/8/0 \| ${1} \| | | ... | | [Arguments] | ${node} | ${dst_interface} | ${index} -| | InterfaceAPI.Configure sub interface SPAN +| | Configure sub interface SPAN | | ... | ${node} | ${dst_interface} | ${index} | Sub-Interface SPAN Operational Data from Honeycomb should not exist @@ -250,7 +249,7 @@ | | ... | \| ${nodes['DUT1']} \| GigabitEthernet0/8/0 \| ${1} \| | | .... | | [Arguments] | ${node} | ${dst_interface} | ${index} -| | ${data}= | InterfaceAPI.Get sub interface oper data +| | ${data}= | Get sub interface oper data | | ... | ${node} | ${dst_interface} | ${index} | | Run keyword and expect error | *KeyError* | Set Variable | | ... | ${data['subinterface-span:span-state']['mirrored-interfaces']['mirrored-interface']} \ No newline at end of file