diff options
author | Michal Cmarada <mcmarada@cisco.com> | 2019-04-08 12:27:32 +0200 |
---|---|---|
committer | Michal Cmarada <mcmarada@cisco.com> | 2019-04-09 08:09:21 +0200 |
commit | aa25184f3f0925b789de52296053dd51e2bf8684 (patch) | |
tree | f6291f8da0e2367c4714239b9f76bff46599ff35 /resources/libraries/robot/honeycomb/sub_interface.robot | |
parent | 5e6145a4260ffce1c302e94b9b241851f90838e1 (diff) |
Fix l2 Honeycomb tests
Change-Id: Ic75a9279fffe3a5d11211f4e57fc635d7d33ee5f
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
Diffstat (limited to 'resources/libraries/robot/honeycomb/sub_interface.robot')
-rw-r--r-- | resources/libraries/robot/honeycomb/sub_interface.robot | 9 |
1 files changed, 5 insertions, 4 deletions
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 |