# 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,
# 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,
# Configuration data:
'l2_fib_filter_cfg': {
"phys-address": filtered,
- "outgoing-interface": interface,
"static-config": True,
"action": "l2-fib-filter"
},
# 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
# Expected VAT data:
'l2_fib_filter_vat': {
- "mac": int("".join(filtered.split(':')), 16),
- "sw_if_index": sw_if_index,
+ "mac": [int(x, 16) for x in filtered.split(":")],
"static_mac": 1,
"filter_mac": 1,
"bvi_mac": 0