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
ConstructorDescriptionDefaultPceServerProvider
(ConnectedGraphProvider graphProvider, PathComputationProvider pathComputationProvider, org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.mdsal.binding.api.RpcConsumerRegistry rpcConsumerRegistry) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
@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.
-
Constructor Details
-
DefaultPceServerProvider
@Inject public DefaultPceServerProvider(ConnectedGraphProvider graphProvider, PathComputationProvider pathComputationProvider, org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.mdsal.binding.api.RpcConsumerRegistry rpcConsumerRegistry)
-
-
Method Details
-
close
@PreDestroy public void close()- Specified by:
close
in interfaceAutoCloseable
-
getPathComputation
Description copied from interface:PceServerProvider
Return the instance of the Path Computation server.- Specified by:
getPathComputation
in interfacePceServerProvider
- Returns:
- Path Computation Object
-
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 interfacePceServerProvider
- Parameters:
topology
- Configured PCEP Topologykey
- 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 interfacePceServerProvider
- Parameters:
topology
- Configured PCEP Topology
-