X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Ftest_data%2Fhoneycomb%2Fl2_fib.py;h=70b1e74e13f0ecab1afa58b1562be563fe54fa56;hb=20cc67d5f23a7f4e05b08012bf3d3a63be4bcf63;hp=d1600fc46ddbf7669576808f5ad3e98efec593eb;hpb=19c91adadd57bfc4e7514993b2a711a826d52e04;p=csit.git diff --git a/resources/test_data/honeycomb/l2_fib.py b/resources/test_data/honeycomb/l2_fib.py index d1600fc46d..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("".join(notstatic.split(':')), 16), + "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("".join(static.split(':')), 16), + "mac": static, "sw_if_index": sw_if_index, "static_mac": 1, "filter_mac": 0, @@ -119,7 +119,6 @@ def get_variables(node, interface, interface2): # Configuration data: 'l2_fib_filter_cfg': { "phys-address": filtered, - "outgoing-interface": interface, "static-config": True, "action": "l2-fib-filter" }, @@ -127,7 +126,6 @@ def get_variables(node, interface, interface2): # Expected operational data: 'l2_fib_filter_oper': { "phys-address": filtered, - "outgoing-interface": interface, "bridged-virtual-interface": False, "action": "v3po:l2-fib-filter", "static-config": True @@ -135,8 +133,7 @@ def get_variables(node, interface, interface2): # Expected VAT data: 'l2_fib_filter_vat': { - "mac": int("".join(filtered.split(':')), 16), - "sw_if_index": sw_if_index, + "mac": filtered, "static_mac": 1, "filter_mac": 1, "bvi_mac": 0