X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Ftest_data%2Fhoneycomb%2Fl2_fib.py;fp=resources%2Ftest_data%2Fhoneycomb%2Fl2_fib.py;h=5c9558dbdb6289f44300856d71c40edc8a2110ba;hp=c8fabdc94379467e2667c7965b283aea7bf46fa0;hb=43519bb1d5843d83224e70fd715752254130ae1f;hpb=f881b1b0749cea6a9c5ad95e1b2a4839cc1c0458 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