Interface NodeState

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
    All Known Subinterfaces:
    NodeAttributes

    @Generated("mdsal-binding-generator")
    public interface NodeState
    extends org.opendaylight.yangtools.yang.binding.DataObject

    This class represents the following YANG schema fragment defined in module bgp-linkstate

     grouping node-state {
       leaf-list topology-identifier {
         type topology-identifier;
       }
       leaf node-flags {
         type node-flag-bits;
       }
       leaf-list isis-area-id {
         type isis-area-identifier;
       }
       leaf dynamic-hostname {
         type string;
       }
       leaf ipv4-router-id {
         type ipv4-router-identifier;
       }
       leaf ipv6-router-id {
         type ipv6-router-identifier;
       }
       container sr-capabilities {
         uses bgp-sr:sr-capabilities-tlv;
       }
       container sr-algorithm {
         uses bgp-sr:sr-algorithms-tlv;
       }
     }
     
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable Set<TopologyIdentifier> getTopologyIdentifier()
        Return topologyIdentifier, or null if it is not present.
        Returns:
        Set<TopologyIdentifier> topologyIdentifier, or null if it is not present.
      • requireTopologyIdentifier

        default @NonNull Set<TopologyIdentifier> requireTopologyIdentifier()
        Return topologyIdentifier, guaranteed to be non-null.
        Returns:
        Set<TopologyIdentifier> topologyIdentifier, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if topologyIdentifier is not present
      • getNodeFlags

        NodeFlagBits getNodeFlags()
        Return nodeFlags, or null if it is not present.
        Returns:
        NodeFlagBits nodeFlags, or null if it is not present.
      • requireNodeFlags

        default @NonNull NodeFlagBits requireNodeFlags()
        Return nodeFlags, guaranteed to be non-null.
        Returns:
        NodeFlagBits nodeFlags, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if nodeFlags is not present
      • getIsisAreaId

        @Nullable Set<IsisAreaIdentifier> getIsisAreaId()
        Return isisAreaId, or null if it is not present.
        Returns:
        Set<IsisAreaIdentifier> isisAreaId, or null if it is not present.
      • requireIsisAreaId

        default @NonNull Set<IsisAreaIdentifier> requireIsisAreaId()
        Return isisAreaId, guaranteed to be non-null.
        Returns:
        Set<IsisAreaIdentifier> isisAreaId, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if isisAreaId is not present
      • getDynamicHostname

        String getDynamicHostname()
        Return dynamicHostname, or null if it is not present.
        Returns:
        String dynamicHostname, or null if it is not present.
      • requireDynamicHostname

        default @NonNull String requireDynamicHostname()
        Return dynamicHostname, guaranteed to be non-null.
        Returns:
        String dynamicHostname, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if dynamicHostname is not present
      • getIpv4RouterId

        Ipv4RouterIdentifier getIpv4RouterId()
        Return ipv4RouterId, or null if it is not present.
        Returns:
        Ipv4RouterIdentifier ipv4RouterId, or null if it is not present.
      • requireIpv4RouterId

        default @NonNull Ipv4RouterIdentifier requireIpv4RouterId()
        Return ipv4RouterId, guaranteed to be non-null.
        Returns:
        Ipv4RouterIdentifier ipv4RouterId, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if ipv4RouterId is not present
      • getIpv6RouterId

        Ipv6RouterIdentifier getIpv6RouterId()
        Return ipv6RouterId, or null if it is not present.
        Returns:
        Ipv6RouterIdentifier ipv6RouterId, or null if it is not present.
      • requireIpv6RouterId

        default @NonNull Ipv6RouterIdentifier requireIpv6RouterId()
        Return ipv6RouterId, guaranteed to be non-null.
        Returns:
        Ipv6RouterIdentifier ipv6RouterId, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if ipv6RouterId is not present
      • getSrCapabilities

        SrCapabilities getSrCapabilities()
        Return srCapabilities, or null if it is not present.
        Returns:
        SrCapabilities srCapabilities, or null if it is not present.
      • getSrAlgorithm

        SrAlgorithm getSrAlgorithm()
        Return srAlgorithm, or null if it is not present.
        Returns:
        SrAlgorithm srAlgorithm, or null if it is not present.