Interface EpeAdjSidTlv

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, SidLabelIndex
    All Known Subinterfaces:
    AdjSidTlv, PeerAdjSid, PeerNodeSid, PeerSetSids, SrAdjIds

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

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

     grouping epe-adj-sid-tlv {
       leaf weight {
         type weight;
       }
       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 EpeAdjSidTlv> 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
      • getWeight

        Weight getWeight()
        Return weight, or null if it is not present.
        Returns:
        Weight weight, or null if it is not present.
      • requireWeight

        default @NonNull Weight requireWeight()
        Return weight, guaranteed to be non-null.
        Returns:
        Weight weight, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if weight is not present