Interface GnmiNodeState
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>,org.opendaylight.yangtools.yang.binding.BindingObject,org.opendaylight.yangtools.yang.binding.DataContainer,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
GnmiNode
@Generated("mdsal-binding-generator")
public interface GnmiNodeState
extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module gnmi-topology
grouping gnmi-node-state {
container node-state {
leaf node-status {
config false;
type enumeration {
enum READY;
enum CONNECTING;
enum TRANSIENT_FAILURE;
enum IDLE;
enum SHUTDOWN;
enum FAILURE;
}
}
leaf failure-details {
when "../node-status='FAILURE'";
config false;
type string;
}
container available-capabilities {
config false;
list available-capability {
leaf capability {
type string;
}
}
}
}
}
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QNameYANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionReturn nodeState, ornullif it is not present.Class<? extends GnmiNodeState>@NonNull NodeStateReturn nodeState, or an empty instance if it is not present.
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends GnmiNodeState> implementedInterface()- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getNodeState
NodeState getNodeState()Return nodeState, ornullif it is not present.- Returns:
NodeStatenodeState, ornullif it is not present.
-
nonnullNodeState
@NonNull NodeState nonnullNodeState()Return nodeState, or an empty instance if it is not present.- Returns:
NodeStatenodeState, or an empty instance if it is not present.
-