Interface ComputeNodes

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<ComputeNodes>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<CloudscalerRpcData>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject

    public interface ComputeNodes
    extends org.opendaylight.yangtools.yang.binding.ChildOf<CloudscalerRpcData>, org.opendaylight.yangtools.yang.binding.Augmentable<ComputeNodes>
    stores compute node related details (nodeid, dpnid etc ) learned from operational ovsdb node

    This class represents the following YANG schema fragment defined in module cloudscaler-rpc

     container compute-nodes {
       list compute-node {
         key compute-name;
         leaf compute-name {
           type string;
         }
         leaf nodeid {
           type string;
         }
         leaf dpnid {
           type uint64;
         }
         leaf tombstoned {
           type boolean;
         }
       }
     }
     
    The schema path to identify an instance is cloudscaler-rpc/compute-nodes

    To create instances of this class use ComputeNodesBuilder.

    See Also:
    ComputeNodesBuilder
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        default java.lang.Class<ComputeNodes> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getComputeNode

        @Nullable java.util.List<ComputeNode> getComputeNode()
        Returns:
        java.util.List computeNode, or null if not present
      • nonnullComputeNode

        default @NonNull java.util.List<ComputeNode> nonnullComputeNode()
        Returns:
        java.util.List computeNode, or an empty list if it is not present