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 void
addManagedTePath(ManagedTePath mngPath)
void
disable()
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.NodeId
getId()
ManagedTePath
getManagedTePath(ConfiguredLspKey key)
org.opendaylight.bgpcep.pcep.server.provider.ManagedTeNode.NodeState
getState()
ConcurrentMap<ConfiguredLspKey,ManagedTePath>
getTePaths()
org.opendaylight.mdsal.binding.api.WriteTransaction
getTransaction()
boolean
isSync()
ManagedTePath
removeManagedTePath(ConfiguredLspKey key)
void
sync()
String
toString()
-
-
-
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)
-
-