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