Class VplsOperationManager

  • All Implemented Interfaces:
    VplsOperationService

    public class VplsOperationManager
    extends Object
    implements VplsOperationService
    An implementation of VplsOperationService. Handles the execution order of the VPLS operations generated by the application.
    • Field Detail

      • coreService

        protected org.onosproject.core.CoreService coreService
      • intentService

        protected org.onosproject.net.intent.IntentService intentService
      • leadershipService

        protected org.onosproject.cluster.LeadershipService leadershipService
      • clusterService

        protected org.onosproject.cluster.ClusterService clusterService
      • hostService

        protected org.onosproject.net.host.HostService hostService
      • appId

        protected org.onosproject.core.ApplicationId appId
      • isLeader

        protected boolean isLeader
      • localNodeId

        protected org.onosproject.cluster.NodeId localNodeId
      • leadershipEventListener

        protected org.onosproject.cluster.LeadershipEventListener leadershipEventListener
    • Constructor Detail

      • VplsOperationManager

        public VplsOperationManager()
    • Method Detail

      • activate

        public void activate()
      • deactivate

        public void deactivate()
      • getOptimizedVplsOperation

        protected static VplsOperation getOptimizedVplsOperation​(Deque<VplsOperation> operations)
        Optimizes the VPLS operation queue and return a single VPLS operation to execute.
        Parameters:
        operations - the queue to be optimized
        Returns:
        optimized VPLS operation from the queue