Interface RangeTlv

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

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

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

     grouping range-tlv {
       leaf inter-area {
         type boolean;
       }
       leaf range-size {
         type uint16;
       }
       list sub-tlvs {
         uses range-sub-tlvs;
       }
     }
     
    The schema path to identify an instance is bgp-segment-routingrange-tlv
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

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

        Boolean getInterArea()
        Return interArea, or null if it is not present.
        Returns:
        Boolean interArea, or null if it is not present.
      • requireInterArea

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

        org.opendaylight.yangtools.yang.common.Uint16 getRangeSize()
        Return rangeSize, or null if it is not present.
        Returns:
        Uint16 rangeSize, or null if it is not present.
      • requireRangeSize

        default @NonNull org.opendaylight.yangtools.yang.common.Uint16 requireRangeSize()
        Return rangeSize, guaranteed to be non-null.
        Returns:
        Uint16 rangeSize, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if rangeSize is not present
      • getSubTlvs

        @Nullable List<SubTlvs> getSubTlvs()
        Return subTlvs, or null if it is not present.
        Returns:
        List<SubTlvs> subTlvs, or null if it is not present.
      • nonnullSubTlvs

        default @NonNull List<SubTlvs> nonnullSubTlvs()
        Return subTlvs, or an empty list if it is not present.
        Returns:
        List<SubTlvs> subTlvs, or an empty list if it is not present.