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/test_data | |
parent | 5e6145a4260ffce1c302e94b9b241851f90838e1 (diff) |
Fix l2 Honeycomb tests
Change-Id: Ic75a9279fffe3a5d11211f4e57fc635d7d33ee5f
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
Diffstat (limited to 'resources/test_data')
-rw-r--r-- | resources/test_data/honeycomb/l2_fib.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/resources/test_data/honeycomb/l2_fib.py b/resources/test_data/honeycomb/l2_fib.py index 5c9558dbdb..70b1e74e13 100644 --- a/resources/test_data/honeycomb/l2_fib.py +++ b/resources/test_data/honeycomb/l2_fib.py @@ -46,7 +46,7 @@ def get_variables(node, interface, interface2): 'bd_settings': { 'flood': True, 'forward': True, - 'learn': True, + 'learn': False, 'unknown-unicast-flood': True, 'arp-termination': True }, @@ -81,7 +81,7 @@ def get_variables(node, interface, interface2): # Expected VAT data: 'l2_fib_forward_vat': { - "mac": [int(x, 16) for x in notstatic.split(":")], + "mac": notstatic, "sw_if_index": sw_if_index, "static_mac": 0, "filter_mac": 0, @@ -108,7 +108,7 @@ def get_variables(node, interface, interface2): # Expected VAT data: 'l2_fib_static_forward_vat': { - "mac": [int(x, 16) for x in static.split(":")], + "mac": static, "sw_if_index": sw_if_index, "static_mac": 1, "filter_mac": 0, @@ -133,7 +133,7 @@ def get_variables(node, interface, interface2): # Expected VAT data: 'l2_fib_filter_vat': { - "mac": [int(x, 16) for x in filtered.split(":")], + "mac": filtered, "static_mac": 1, "filter_mac": 1, "bvi_mac": 0 |