def is_active_interface(itf) -> bool: """Return whether an interface is active or not for the OSPF daemon""" if itf.broadcast_domain is None: return False return any( L3Router.is_l3router_intf(i) for i in itf.broadcast_domain if i != itf)
def is_active_interface(self, itf): """Return whether an interface is active or not for the OpenR daemon""" return L3Router.is_l3router_intf(otherIntf(itf))
def is_active_interface(self, itf): """Return whether an interface is active or not for the OSPF daemon""" return L3Router.is_l3router_intf(otherIntf(itf))