예제 #1
0
파일: ospf.py 프로젝트: Kikito07/Reseau2
 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)
예제 #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))
예제 #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))