Class ComputeNodeManager
- java.lang.Object
-
- org.opendaylight.genius.cloudscaler.rpcservice.ComputeNodeManager
-
@Singleton public class ComputeNodeManager extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ComputeNodeManager(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker, org.opendaylight.infrautils.caches.CacheProvider cacheProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(@NonNull org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node node)
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<ComputeNode>
buildComputeNodeIid(java.lang.String computeName)
void
deleteComputeNode(org.opendaylight.controller.md.sal.binding.api.ReadWriteTransaction tx, ComputeNode computeNode)
ComputeNode
getComputeNode(org.opendaylight.yangtools.yang.common.Uint64 dpnId)
ComputeNode
getComputeNodeFromName(java.lang.String computeName)
void
putComputeDetailsInConfigDatastore(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<ComputeNode> computeIid, ComputeNode computeNode)
-
-
-
Method Detail
-
getComputeNodeFromName
public ComputeNode getComputeNodeFromName(java.lang.String computeName) throws org.opendaylight.controller.md.sal.common.api.data.ReadFailedException
- Throws:
org.opendaylight.controller.md.sal.common.api.data.ReadFailedException
-
deleteComputeNode
public void deleteComputeNode(org.opendaylight.controller.md.sal.binding.api.ReadWriteTransaction tx, ComputeNode computeNode)
-
add
public void add(@NonNull org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node node) throws org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedException
- Throws:
org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedException
-
buildComputeNodeIid
public org.opendaylight.yangtools.yang.binding.InstanceIdentifier<ComputeNode> buildComputeNodeIid(java.lang.String computeName)
-
putComputeDetailsInConfigDatastore
public void putComputeDetailsInConfigDatastore(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<ComputeNode> computeIid, ComputeNode computeNode) throws org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedException
- Throws:
org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedException
-
getComputeNode
public ComputeNode getComputeNode(org.opendaylight.yangtools.yang.common.Uint64 dpnId)
-
-