Class VplsNeighbourHandler


  • public class VplsNeighbourHandler
    extends java.lang.Object
    Handles 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.VplsConfigListener configListener  
      protected org.onosproject.net.config.NetworkConfigService configService  
      protected org.onosproject.core.CoreService coreService  
      protected org.onosproject.net.intf.InterfaceService interfaceService  
      protected org.onosproject.vpls.VplsNeighbourHandler.VplsNeighbourMessageHandler neighbourHandler  
      protected org.onosproject.net.neighbour.NeighbourResolutionService neighbourService  
      protected VplsStore vplsStore  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void activate()  
      protected void configNeighbourHandler()
      Registers neighbour handler to all available interfaces.
      protected void deactivate()  
      protected void handleReply​(org.onosproject.net.neighbour.NeighbourMessageContext context, org.onosproject.net.host.HostService hostService)
      Handles reply messages between VLAN tagged interfaces.
      protected void handleRequest​(org.onosproject.net.neighbour.NeighbourMessageContext context)
      Handles request messages.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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