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 nodeThis 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-nodesTo create instances of this class use
ComputeNodesBuilder
.- See Also:
ComputeNodesBuilder
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @Nullable java.util.Map<ComputeNodeKey,ComputeNode>
getComputeNode()
default java.lang.Class<ComputeNodes>
implementedInterface()
default @NonNull java.util.Map<ComputeNodeKey,ComputeNode>
nonnullComputeNode()
-
-
-
Method Detail
-
implementedInterface
default java.lang.Class<ComputeNodes> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getComputeNode
@Nullable java.util.Map<ComputeNodeKey,ComputeNode> getComputeNode()
- Returns:
java.util.Map
computeNode
, ornull
if not present
-
nonnullComputeNode
default @NonNull java.util.Map<ComputeNodeKey,ComputeNode> nonnullComputeNode()
- Returns:
java.util.Map
computeNode
, or an empty list if it is not present
-
-