All Superinterfaces:
org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>, org.opendaylight.yangtools.binding.BindingObject, org.opendaylight.yangtools.binding.DataContainer, org.opendaylight.yangtools.binding.Grouping
All Known Subinterfaces:
AggregateFlowStatisticsUpdate, FlowsStatisticsUpdate, FlowTableStatisticsUpdate, GroupDescStatsUpdated, GroupFeaturesUpdated, GroupStatisticsUpdated, MeterConfigStatsUpdated, MeterFeaturesUpdated, MeterStatisticsUpdated, Node, NodeConnectorStatisticsUpdate, NodeUpdated, QueueStatisticsUpdate

@Generated("mdsal-binding-generator") public interface Node extends org.opendaylight.yangtools.binding.Grouping
Describes the contents of a generic node - essentially an ID and a list of node-connectors. Acts as an augmentation point where other YANG files can add additional information.

This class represents the following YANG schema fragment defined in module opendaylight-inventory

 grouping node {
   leaf id {
     type node-id;
   }
   list node-connector {
     key id;
     ext:context-instance node-connector-context;
     uses node-connector;
   }
 }
 
  • Method Details

    • getId

      NodeId getId()
      Return id, or null if it is not present.
           
               The unique identifier for the node.
           
       
      Returns:
      NodeId id, or null if it is not present.
    • requireId

      default @NonNull NodeId requireId()
      Return id, guaranteed to be non-null.
           
               The unique identifier for the node.
           
       
      Returns:
      NodeId id, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if id is not present
    • getNodeConnector

      @Nullable Map<NodeConnectorKey,NodeConnector> getNodeConnector()
      Return nodeConnector, or null if it is not present.
           
               A list of node connectors that belong this node.
           
       
      Returns:
      Map<NodeConnectorKey, NodeConnector> nodeConnector, or null if it is not present.
    • nonnullNodeConnector

      default @NonNull Map<NodeConnectorKey,NodeConnector> nonnullNodeConnector()
      Return nodeConnector, or an empty list if it is not present.
      Returns:
      Map<NodeConnectorKey, NodeConnector> nodeConnector, or an empty list if it is not present.