aboutsummaryrefslogtreecommitdiffstats
path: root/resources/test_data
diff options
context:
space:
mode:
Diffstat (limited to 'resources/test_data')
-rw-r--r--resources/test_data/honeycomb/l2_fib.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/resources/test_data/honeycomb/l2_fib.py b/resources/test_data/honeycomb/l2_fib.py
index c8fabdc943..5c9558dbdb 100644
--- a/resources/test_data/honeycomb/l2_fib.py
+++ b/resources/test_data/honeycomb/l2_fib.py
@@ -81,7 +81,7 @@ def get_variables(node, interface, interface2):
# Expected VAT data:
'l2_fib_forward_vat': {
- "mac": int("".join(notstatic.split(':')), 16),
+ "mac": [int(x, 16) for x in notstatic.split(":")],
"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("".join(static.split(':')), 16),
+ "mac": [int(x, 16) for x in static.split(":")],
"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("".join(filtered.split(':')), 16),
+ "mac": [int(x, 16) for x in filtered.split(":")],
"static_mac": 1,
"filter_mac": 1,
"bvi_mac": 0