Package org.onosproject.vpls
Class VplsNeighbourHandler
- java.lang.Object
-
- org.onosproject.vpls.VplsNeighbourHandler
-
public class VplsNeighbourHandler extends java.lang.ObjectHandles neighbour messages for on behalf of the VPLS application. Handlers will be changed automatically by interface or network configuration events.
-
-
Field Summary
Fields Modifier and Type Field Description protected org.onosproject.vpls.VplsNeighbourHandler.VplsConfigListenerconfigListenerprotected org.onosproject.net.config.NetworkConfigServiceconfigServiceprotected org.onosproject.core.CoreServicecoreServiceprotected org.onosproject.net.intf.InterfaceServiceinterfaceServiceprotected org.onosproject.vpls.VplsNeighbourHandler.VplsNeighbourMessageHandlerneighbourHandlerprotected org.onosproject.net.neighbour.NeighbourResolutionServiceneighbourServiceprotected VplsStorevplsStore
-
Constructor Summary
Constructors Constructor Description VplsNeighbourHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidactivate()protected voidconfigNeighbourHandler()Registers neighbour handler to all available interfaces.protected voiddeactivate()protected voidhandleReply(org.onosproject.net.neighbour.NeighbourMessageContext context, org.onosproject.net.host.HostService hostService)Handles reply messages between VLAN tagged interfaces.protected voidhandleRequest(org.onosproject.net.neighbour.NeighbourMessageContext context)Handles request messages.
-
-
-
Field Detail
-
coreService
protected org.onosproject.core.CoreService coreService
-
interfaceService
protected org.onosproject.net.intf.InterfaceService interfaceService
-
neighbourService
protected org.onosproject.net.neighbour.NeighbourResolutionService neighbourService
-
vplsStore
protected VplsStore vplsStore
-
configService
protected org.onosproject.net.config.NetworkConfigService configService
-
neighbourHandler
protected org.onosproject.vpls.VplsNeighbourHandler.VplsNeighbourMessageHandler neighbourHandler
-
configListener
protected org.onosproject.vpls.VplsNeighbourHandler.VplsConfigListener configListener
-
-
Method Detail
-
activate
protected void activate()
-
deactivate
protected void deactivate()
-
configNeighbourHandler
protected void configNeighbourHandler()
Registers neighbour handler to all available interfaces.
-
handleRequest
protected void handleRequest(org.onosproject.net.neighbour.NeighbourMessageContext context)
Handles request messages.- Parameters:
context- the message context
-
handleReply
protected void handleReply(org.onosproject.net.neighbour.NeighbourMessageContext context, org.onosproject.net.host.HostService hostService)Handles reply messages between VLAN tagged interfaces.- Parameters:
context- the message contexthostService- the host service
-
-