Class ManagedTeNode
- java.lang.Object
-
- org.opendaylight.bgpcep.pcep.server.provider.ManagedTeNode
-
public class ManagedTeNode extends Object
-
-
Constructor Summary
Constructors Constructor Description ManagedTeNode(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId id, org.opendaylight.mdsal.binding.api.TransactionChain chain)ManagedTeNode(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId id, org.opendaylight.mdsal.binding.api.TransactionChain chain, org.opendaylight.bgpcep.pcep.server.provider.ManagedTeNode.NodeState state)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddManagedTePath(ManagedTePath mngPath)voiddisable()Disable this Managed TE Node and removed associated Managed Node from the Data Store.org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeIdgetId()ManagedTePathgetManagedTePath(ConfiguredLspKey key)org.opendaylight.bgpcep.pcep.server.provider.ManagedTeNode.NodeStategetState()ConcurrentMap<ConfiguredLspKey,ManagedTePath>getTePaths()org.opendaylight.mdsal.binding.api.WriteTransactiongetTransaction()booleanisSync()ManagedTePathremoveManagedTePath(ConfiguredLspKey key)voidsync()StringtoString()
-
-
-
Constructor Detail
-
ManagedTeNode
public ManagedTeNode(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId id, org.opendaylight.mdsal.binding.api.TransactionChain chain)
-
ManagedTeNode
public ManagedTeNode(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId id, org.opendaylight.mdsal.binding.api.TransactionChain chain, org.opendaylight.bgpcep.pcep.server.provider.ManagedTeNode.NodeState state)
-
-
Method Detail
-
getState
public org.opendaylight.bgpcep.pcep.server.provider.ManagedTeNode.NodeState getState()
-
getId
public org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId getId()
-
getTePaths
public ConcurrentMap<ConfiguredLspKey,ManagedTePath> getTePaths()
-
getTransaction
public org.opendaylight.mdsal.binding.api.WriteTransaction getTransaction()
-
isSync
public boolean isSync()
-
sync
public void sync()
-
disable
public void disable()
Disable this Managed TE Node and removed associated Managed Node from the Data Store. TE Path which are not delegated are removed from the path list other ones are mark as disabled.
-
addManagedTePath
public void addManagedTePath(ManagedTePath mngPath)
-
removeManagedTePath
public ManagedTePath removeManagedTePath(ConfiguredLspKey key)
-
getManagedTePath
public ManagedTePath getManagedTePath(ConfiguredLspKey key)
-
-