Interface LanAdjSidTlv

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

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

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

     grouping lan-adj-sid-tlv {
       uses adj-flags;
       leaf weight {
         type weight;
       }
       leaf iso-system-id {
         type netc:iso-system-identifier;
       }
       leaf neighbor-id {
         type inet:ipv4-address-no-zone;
       }
       uses sid-label-index;
     }
     
    The schema path to identify an instance is bgp-segment-routinglan-adj-sid-tlv
    • Field Detail

      • QNAME

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

      • implementedInterface

        Class<? extends LanAdjSidTlv> implementedInterface()
        Specified by:
        implementedInterface in interface AdjFlags
        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
      • getIsoSystemId

        IsoSystemIdentifier getIsoSystemId()
        Return isoSystemId, or null if it is not present.
        Returns:
        IsoSystemIdentifier isoSystemId, or null if it is not present.
      • requireIsoSystemId

        default @NonNull IsoSystemIdentifier requireIsoSystemId()
        Return isoSystemId, guaranteed to be non-null.
        Returns:
        IsoSystemIdentifier isoSystemId, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if isoSystemId is not present
      • getNeighborId

        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4AddressNoZone getNeighborId()
        Return neighborId, or null if it is not present.
        Returns:
        Ipv4AddressNoZone neighborId, or null if it is not present.
      • requireNeighborId

        default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4AddressNoZone requireNeighborId()
        Return neighborId, guaranteed to be non-null.
        Returns:
        Ipv4AddressNoZone neighborId, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if neighborId is not present