All Superinterfaces:
AdjFlags, org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>, 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;
 }
 
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final @NonNull org.opendaylight.yangtools.yang.common.QName
    YANG identifier of the statement represented by this class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return isoSystemId, or null if it is not present.
    org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4AddressNoZone
    Return neighborId, or null if it is not present.
    Return weight, or null if it is not present.
    Class<? extends LanAdjSidTlv>
     
    default @NonNull IsoSystemIdentifier
    Return isoSystemId, guaranteed to be non-null.
    default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4AddressNoZone
    Return neighborId, guaranteed to be non-null.
    default @NonNull Weight
    Return weight, guaranteed to be non-null.

    Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.segment.routing.ext.rev200120.AdjFlags

    getFlags

    Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.segment.routing.ext.rev200120.SidLabelIndex

    getSidLabelIndex
  • Field Details

    • QNAME

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

    • implementedInterface

      Class<? extends LanAdjSidTlv> implementedInterface()
      Specified by:
      implementedInterface in interface AdjFlags
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.BindingContract<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