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.mdsal.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.mdsal.binding.util.TypedReadWriteTransaction<@NonNull org.opendaylight.mdsal.binding.util.Datastore.Configuration> 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.mdsal.common.api.ReadFailedException
- Throws:
org.opendaylight.mdsal.common.api.ReadFailedException
-
deleteComputeNode
public void deleteComputeNode(org.opendaylight.mdsal.binding.util.TypedReadWriteTransaction<@NonNull org.opendaylight.mdsal.binding.util.Datastore.Configuration> 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 java.util.concurrent.ExecutionException, java.lang.InterruptedException
- Throws:
java.util.concurrent.ExecutionException
java.lang.InterruptedException
-
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 java.util.concurrent.ExecutionException, java.lang.InterruptedException
- Throws:
java.util.concurrent.ExecutionException
java.lang.InterruptedException
-
getComputeNode
public ComputeNode getComputeNode(org.opendaylight.yangtools.yang.common.Uint64 dpnId)
-
-