Class PCEPTopologyTracker

  • All Implemented Interfaces:
    AutoCloseable, EventListener, org.opendaylight.mdsal.binding.api.ClusteredDataTreeChangeListener<TopologyPcep>, org.opendaylight.mdsal.binding.api.DataTreeChangeListener<TopologyPcep>

    public final class PCEPTopologyTracker
    extends Object
    implements org.opendaylight.mdsal.binding.api.ClusteredDataTreeChangeListener<TopologyPcep>, AutoCloseable
    Primary entrypoint into this component. Once an instance of this class is instantiated, it will subscribe to changes to the configuration datastore. There it filters only topologies which have TopologyPcep type and for each one of those instantiates a cluster-wide singleton to handle lifecycle of services attached to that topology.
    • Constructor Detail

      • PCEPTopologyTracker

        public PCEPTopologyTracker​(org.opendaylight.mdsal.binding.api.DataBroker dataBroker,
                                   org.opendaylight.mdsal.singleton.common.api.ClusterSingletonServiceProvider singletonService,
                                   org.opendaylight.mdsal.binding.api.RpcProviderService rpcProviderRegistry,
                                   PCEPDispatcher pcepDispatcher,
                                   InstructionSchedulerFactory instructionSchedulerFactory,
                                   TopologySessionStatsRegistry stateRegistry,
                                   PceServerProvider pceServerProvider)
    • Method Detail

      • getRpcProviderRegistry

        public org.opendaylight.mdsal.binding.api.RpcProviderService getRpcProviderRegistry()
      • getDataBroker

        public org.opendaylight.mdsal.binding.api.DataBroker getDataBroker()
      • onDataTreeChanged

        public void onDataTreeChanged​(Collection<org.opendaylight.mdsal.binding.api.DataTreeModification<TopologyPcep>> changes)
        Specified by:
        onDataTreeChanged in interface org.opendaylight.mdsal.binding.api.DataTreeChangeListener<TopologyPcep>