return sorted(members)
- def get_dependent_ifacenames(self, ifaceobj, ifaceobjs_all=None):
+ def get_dependent_ifacenames(self, ifaceobj, ifacenames_all=None, old_ifaceobjs=False):
if not self._is_batman_device(ifaceobj):
return None
cmd = "del-br %s"%(ifaceobj.name)
self._ovs_vsctl(ifaceobj, [cmd])
- def get_dependent_ifacenames (self, ifaceobj, ifaceobjs_all=None):
+ def get_dependent_ifacenames(self, ifaceobj, ifacenames_all=None, old_ifaceobjs=False):
if not self._is_ovs_bridge(ifaceobj):
return None
ifaceobj.link_privflags |= ifaceLinkPrivFlags.OPENVSWITCH
self._ovs_vsctl(ifaceobj, [cmd])
- def get_dependent_ifacenames (self, ifaceobj, ifaceobjs_all=None):
+ def get_dependent_ifacenames(self, ifaceobj, ifacenames_all=None, old_ifaceobjs=False):
if not self._is_ovs_port (ifaceobj):
return None
except Exception as e:
self.log_warn(str(e))
- def get_dependent_ifacenames(self, ifaceobj, ifacenames_all=None):
+ def get_dependent_ifacenames(self, ifaceobj, ifacenames_all=None, old_ifaceobjs=False):
if not self._is_my_interface(ifaceobj):
return None
Addon.__init__(self)
moduleBase.__init__(self, *args, **kargs)
- def get_dependent_ifacenames(self, ifaceobj, ifacenames_all=None):
+ def get_dependent_ifacenames(self, ifaceobj, ifacenames_all=None, old_ifaceobjs=False):
parent_int = self._get_parent_ifacename(ifaceobj)
if parent_int: