Ejemplo n.º 1
0
 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)
Ejemplo n.º 2
0
 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))
Ejemplo n.º 3
0
 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))