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

      • ComputeNodeManager

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