Class 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)  
    • Constructor Detail

      • ComputeNodeManager

        @Inject
        public ComputeNodeManager​(org.opendaylight.mdsal.binding.api.DataBroker dataBroker,
                                  org.opendaylight.infrautils.caches.CacheProvider cacheProvider)
    • 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.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 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)