Interface Node

  • All Superinterfaces:
    BindingObject, DataContainer, DataObject
    All Known Subinterfaces:
    Node, NodeUpdated

    public interface Node
    extends DataObject
    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;
       }
     }
     
    The schema path to identify an instance is opendaylight-inventory/node
    • Field Detail

      • QNAME

        static final @NonNull QName QNAME
    • Method Detail

      • getId

        @Nullable NodeId getId()
        The unique identifier for the node.
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeId id, or null if not present
      • getNodeConnector

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

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