@Service public class NeighbourResolutionManager extends Object implements org.onosproject.net.neighbour.NeighbourResolutionService
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
arpEnabled |
protected org.onosproject.cfg.ComponentConfigService |
componentConfigService |
protected org.onosproject.core.CoreService |
coreService |
protected org.onosproject.net.edge.EdgePortService |
edgeService |
protected org.onosproject.net.host.HostService |
hostService |
protected boolean |
ndpEnabled |
protected org.onosproject.net.packet.PacketService |
packetService |
| Constructor and Description |
|---|
NeighbourResolutionManager() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
activate(org.osgi.service.component.ComponentContext context) |
protected void |
deactivate() |
Map<org.onosproject.net.ConnectPoint,Collection<org.onosproject.net.neighbour.NeighbourHandlerRegistration>> |
getHandlerRegistrations() |
protected void |
modified(org.osgi.service.component.ComponentContext context) |
void |
registerNeighbourHandler(org.onosproject.net.ConnectPoint connectPoint,
org.onosproject.net.neighbour.NeighbourMessageHandler handler,
org.onosproject.core.ApplicationId appId) |
void |
registerNeighbourHandler(org.onosproject.net.intf.Interface intf,
org.onosproject.net.neighbour.NeighbourMessageHandler handler,
org.onosproject.core.ApplicationId appId) |
void |
unregisterNeighbourHandler(org.onosproject.net.ConnectPoint connectPoint,
org.onosproject.net.neighbour.NeighbourMessageHandler handler,
org.onosproject.core.ApplicationId appId) |
void |
unregisterNeighbourHandler(org.onosproject.net.intf.Interface intf,
org.onosproject.net.neighbour.NeighbourMessageHandler handler,
org.onosproject.core.ApplicationId appId) |
void |
unregisterNeighbourHandlers(org.onosproject.core.ApplicationId appId) |
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.core.CoreService coreService
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.net.host.HostService hostService
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.net.edge.EdgePortService edgeService
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.net.packet.PacketService packetService
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.cfg.ComponentConfigService componentConfigService
@Property(name="arpEnabled",
boolValue=true,
label="Enable Address resolution protocol")
protected boolean arpEnabled
@Property(name="ndpEnabled",
boolValue=false,
label="Enable IPv6 neighbour discovery")
protected boolean ndpEnabled
@Activate protected void activate(org.osgi.service.component.ComponentContext context)
@Deactivate protected void deactivate()
@Modified protected void modified(org.osgi.service.component.ComponentContext context)
public void registerNeighbourHandler(org.onosproject.net.ConnectPoint connectPoint,
org.onosproject.net.neighbour.NeighbourMessageHandler handler,
org.onosproject.core.ApplicationId appId)
registerNeighbourHandler in interface org.onosproject.net.neighbour.NeighbourResolutionServicepublic void registerNeighbourHandler(org.onosproject.net.intf.Interface intf,
org.onosproject.net.neighbour.NeighbourMessageHandler handler,
org.onosproject.core.ApplicationId appId)
registerNeighbourHandler in interface org.onosproject.net.neighbour.NeighbourResolutionServicepublic void unregisterNeighbourHandler(org.onosproject.net.ConnectPoint connectPoint,
org.onosproject.net.neighbour.NeighbourMessageHandler handler,
org.onosproject.core.ApplicationId appId)
unregisterNeighbourHandler in interface org.onosproject.net.neighbour.NeighbourResolutionServicepublic void unregisterNeighbourHandler(org.onosproject.net.intf.Interface intf,
org.onosproject.net.neighbour.NeighbourMessageHandler handler,
org.onosproject.core.ApplicationId appId)
unregisterNeighbourHandler in interface org.onosproject.net.neighbour.NeighbourResolutionServicepublic void unregisterNeighbourHandlers(org.onosproject.core.ApplicationId appId)
unregisterNeighbourHandlers in interface org.onosproject.net.neighbour.NeighbourResolutionServicepublic Map<org.onosproject.net.ConnectPoint,Collection<org.onosproject.net.neighbour.NeighbourHandlerRegistration>> getHandlerRegistrations()
getHandlerRegistrations in interface org.onosproject.net.neighbour.NeighbourResolutionService