@Service public class PimInterfaceManager extends Object implements PimInterfaceService
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_HELLO_INTERVAL |
protected org.onosproject.net.host.HostService |
hostService |
protected InterfaceService |
interfaceService |
protected org.onosproject.net.mcast.MulticastRouteService |
multicastRouteService |
protected org.onosproject.net.config.NetworkConfigRegistry |
networkConfig |
protected org.onosproject.net.packet.PacketService |
packetService |
protected RouteService |
unicastRouteService |
| Constructor and Description |
|---|
PimInterfaceManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
void |
deactivate() |
PimInterface |
getPimInterface(org.onosproject.net.ConnectPoint cp)
Returns the PIM interface associated with the given connect point.
|
Set<PimInterface> |
getPimInterfaces()
Retrieves the set of all interfaces running PIM.
|
public static final int DEFAULT_HELLO_INTERVAL
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.net.packet.PacketService packetService
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.net.config.NetworkConfigRegistry networkConfig
@Reference(cardinality=MANDATORY_UNARY) protected InterfaceService interfaceService
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.net.host.HostService hostService
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.net.mcast.MulticastRouteService multicastRouteService
@Reference(cardinality=MANDATORY_UNARY) protected RouteService unicastRouteService
@Activate public void activate()
@Deactivate public void deactivate()
public PimInterface getPimInterface(org.onosproject.net.ConnectPoint cp)
PimInterfaceServicegetPimInterface in interface PimInterfaceServicecp - the connect point we want to get the PIM interface forpublic Set<PimInterface> getPimInterfaces()
PimInterfaceServicegetPimInterfaces in interface PimInterfaceService