X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Frobot%2Fhoneycomb%2Fsub_interface.robot;fp=resources%2Flibraries%2Frobot%2Fhoneycomb%2Fsub_interface.robot;h=a7f739b1b055b81067a97ff6e6202df3e237bece;hp=69eb9003d147b4d62c1fcb61206b949d39ddf9c7;hb=aa25184f3f0925b789de52296053dd51e2bf8684;hpb=5e6145a4260ffce1c302e94b9b241851f90838e1 diff --git a/resources/libraries/robot/honeycomb/sub_interface.robot b/resources/libraries/robot/honeycomb/sub_interface.robot index 69eb9003d1..a7f739b1b0 100644 --- a/resources/libraries/robot/honeycomb/sub_interface.robot +++ b/resources/libraries/robot/honeycomb/sub_interface.robot @@ -287,7 +287,7 @@ | | Should be equal | ${if_data['bridge-domain']} | | ... | ${settings['bridge-domain']} -| Sub-interface bridge domain Operational Data From VAT Should Be +| Sub-interface bridge domain Operational Data From PAPI Should Be | | [Documentation] | Uses VAT to verify sub-interface assignment to a bridge\ | | ... | domain. | | ... @@ -298,19 +298,20 @@ | | ... | - setings - Parameters to be checked. Type: dictionary | | ... | | ... | *Example:* -| | ... | \| Sub-interface bridge domain Operational Data From VAT Should Be\ +| | ... | \| Sub-interface bridge domain Operational Data From PAPI Should Be\ | | ... | \| ${nodes['DUT1']} \| GigabitEthernet0/8/0.1 \| ${sub_bd_setings} \| | | ... | | [Arguments] | ${node} | ${interface} | ${settings} | | ... | | ${bd_data}= | VPP get bridge domain data | ${node} | | ${bd_intf}= | Set Variable | ${bd_data[0]} -| | ${sw_if_data}= | Set Variable | ${bd_intf['sw_if'][0]} +| | ${sw_if_data}= | Set Variable | ${bd_intf['sw_if_details'][0]} | | Should be equal as integers | ${bd_intf['flood']} | ${bd_settings['flood']} | | Should be equal as integers | ${bd_intf['forward']} | | ... | ${bd_settings['forward']} | | Should be equal as integers | ${bd_intf['learn']} | ${bd_settings['learn']} -| | Should be equal as strings | ${sw_if_data['shg']} +# interface[1] = sw_if_index, interface[2] = shg +| | Should be equal as strings | ${sw_if_data[2]} | | ... | ${settings['split-horizon-group']} | Honeycomb fails to remove all sub-interfaces