Class VplsNeighbourHandler


  • public class VplsNeighbourHandler
    extends Object
    Handles neighbour messages for on behalf of the VPLS application. Handlers will be changed automatically by interface or network configuration events.
    • 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
      • configService

        protected org.onosproject.net.config.NetworkConfigService configService
      • neighbourHandler

        protected org.onosproject.vpls.VplsNeighbourHandler.VplsNeighbourMessageHandler neighbourHandler
      • configListener

        protected org.onosproject.vpls.VplsNeighbourHandler.VplsConfigListener configListener
    • Constructor Detail

      • VplsNeighbourHandler

        public VplsNeighbourHandler()
    • 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 context
        hostService - the host service