diff --git a/vppcfg/config/interface.py b/vppcfg/config/interface.py index 6ff671a..8f8e9ef 100644 --- a/vppcfg/config/interface.py +++ b/vppcfg/config/interface.py @@ -665,7 +665,7 @@ def validate_interfaces(yaml): target_mtu = get_mtu(yaml, sub_iface["l2xc"]) if target_mtu != sub_mtu: msgs.append( - f"sub-interface {ifname} l2xc target MTU {int(target_mtu)} does not match source MTU {int(sub_mtu)}" + f"sub-interface {sub_ifname} l2xc target MTU {int(target_mtu)} does not match source MTU {int(sub_mtu)}" ) result = False if not is_l2xc_target_interface_unique(yaml, sub_iface["l2xc"]): diff --git a/schema.yaml b/vppcfg/schema.yaml similarity index 100% rename from schema.yaml rename to vppcfg/schema.yaml