Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
BRIDGE_VLAN_AWARE = 0x01000
BRIDGE_VXLAN = 0x10000
ADDRESS_VIRTUAL_SLAVE = 0x100000
+ LOOPBACK = 0x1000000
@classmethod
def get_str(cls, flag):
upperifaceobj.link_type = ifaceLinkType.LINK_NA
ifaceobj.link_type = ifaceLinkType.LINK_NA
+ if not ifaceobj.link_kind and ifaceobj.name == "lo":
+ ifaceobj.link_privflags |= ifaceLinkPrivFlags.LOOPBACK
+
def dump_iface_dependency_info(self):
""" debug funtion to print raw dependency
info - lower and upper devices"""