1 2 3 4 5
elif ipaddr["type"] == "ethernet.vlan": iface_type = "vlan" parents.append(name.split(".", 1)[0]) vid = ipaddr["vid"]