Interface SrCapabilitiesTlv

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

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

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

     grouping sr-capabilities-tlv {
       leaf mpls-ipv4 {
         type boolean;
       }
       leaf mpls-ipv6 {
         type boolean;
       }
       leaf sr-ipv6 {
         type boolean;
       }
       leaf range-size {
         type rt-types:uint24;
       }
       uses sid-label-index;
     }
     
    • 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 SrCapabilitiesTlv> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
        Specified by:
        implementedInterface in interface SidLabelIndex
      • getMplsIpv4

        Boolean getMplsIpv4()
        Return mplsIpv4, or null if it is not present.
        Returns:
        Boolean mplsIpv4, or null if it is not present.
      • requireMplsIpv4

        default @NonNull Boolean requireMplsIpv4()
        Return mplsIpv4, guaranteed to be non-null.
        Returns:
        Boolean mplsIpv4, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if mplsIpv4 is not present
      • getMplsIpv6

        Boolean getMplsIpv6()
        Return mplsIpv6, or null if it is not present.
        Returns:
        Boolean mplsIpv6, or null if it is not present.
      • requireMplsIpv6

        default @NonNull Boolean requireMplsIpv6()
        Return mplsIpv6, guaranteed to be non-null.
        Returns:
        Boolean mplsIpv6, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if mplsIpv6 is not present
      • getSrIpv6

        Boolean getSrIpv6()
        Return srIpv6, or null if it is not present.
        Returns:
        Boolean srIpv6, or null if it is not present.
      • requireSrIpv6

        default @NonNull Boolean requireSrIpv6()
        Return srIpv6, guaranteed to be non-null.
        Returns:
        Boolean srIpv6, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if srIpv6 is not present
      • getRangeSize

        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.routing.types.rev171204.Uint24 getRangeSize()
        Return rangeSize, or null if it is not present.
        Returns:
        Uint24 rangeSize, or null if it is not present.
      • requireRangeSize

        default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.routing.types.rev171204.Uint24 requireRangeSize()
        Return rangeSize, guaranteed to be non-null.
        Returns:
        Uint24 rangeSize, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if rangeSize is not present