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

    Fields
    Modifier and Type
    Field
    Description
    static final @NonNull org.opendaylight.yangtools.yang.common.QName
    YANG identifier of the statement represented by this class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return nodeState, or null if it is not present.
    Class<? extends GnmiNodeState>
     
    @NonNull NodeState
    Return nodeState, or an empty instance if it is not present.
  • Field Details

    • QNAME

      static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
      YANG identifier of the statement represented by this class.
  • Method Details

    • implementedInterface

      Class<? extends GnmiNodeState> implementedInterface()
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
    • getNodeState

      NodeState getNodeState()
      Return nodeState, or null if it is not present.
      Returns:
      NodeState nodeState, or null if it is not present.
    • nonnullNodeState

      @NonNull NodeState nonnullNodeState()
      Return nodeState, or an empty instance if it is not present.
      Returns:
      NodeState nodeState, or an empty instance if it is not present.