Class DefaultPceServerProvider

java.lang.Object
org.opendaylight.bgpcep.pcep.server.provider.DefaultPceServerProvider
All Implemented Interfaces:
AutoCloseable, PceServerProvider

@Singleton public final class DefaultPceServerProvider extends Object implements PceServerProvider, AutoCloseable
  • Constructor Summary

    Constructors
    Constructor
    Description
    DefaultPceServerProvider(ConnectedGraphProvider graphProvider, PathComputationProvider pathComputationProvider, org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.mdsal.binding.api.RpcService rpcService)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    @Nullable PathComputation
    Return the instance of the Path Computation server.
     
    void
    registerPcepTopology(org.opendaylight.yangtools.yang.binding.KeyedInstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.Topology,org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.TopologyKey> topology, GraphKey key)
    Register PCEP Topology into PCE Server to manage LSP.
    void
    unRegisterPcepTopology(org.opendaylight.yangtools.yang.binding.KeyedInstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.Topology,org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.TopologyKey> topology)
    Un Register current PCEP Topology into PCE Server.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DefaultPceServerProvider

      @Inject public DefaultPceServerProvider(ConnectedGraphProvider graphProvider, PathComputationProvider pathComputationProvider, org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.mdsal.binding.api.RpcService rpcService)
  • Method Details

    • close

      @PreDestroy public void close()
      Specified by:
      close in interface AutoCloseable
    • getPathComputation

      public @Nullable PathComputation getPathComputation()
      Description copied from interface: PceServerProvider
      Return the instance of the Path Computation server.
      Specified by:
      getPathComputation in interface PceServerProvider
      Returns:
      Path Computation Object
    • getTedGraph

      public ConnectedGraph getTedGraph()
    • registerPcepTopology

      public void registerPcepTopology(org.opendaylight.yangtools.yang.binding.KeyedInstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.Topology,org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.TopologyKey> topology, GraphKey key)
      Description copied from interface: PceServerProvider
      Register PCEP Topology into PCE Server to manage LSP.
      Specified by:
      registerPcepTopology in interface PceServerProvider
      Parameters:
      topology - Configured PCEP Topology
      key - Configured Connected Graph Topology as GraphKey
    • unRegisterPcepTopology

      public void unRegisterPcepTopology(org.opendaylight.yangtools.yang.binding.KeyedInstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.Topology,org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.TopologyKey> topology)
      Description copied from interface: PceServerProvider
      Un Register current PCEP Topology into PCE Server.
      Specified by:
      unRegisterPcepTopology in interface PceServerProvider
      Parameters:
      topology - Configured PCEP Topology