Package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.segment.routing.ext.rev200120
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 Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description IsoSystemIdentifier
getIsoSystemId()
Return isoSystemId, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4AddressNoZone
getNeighborId()
Return neighborId, ornull
if it is not present.Weight
getWeight()
Return weight, ornull
if it is not present.Class<? extends LanAdjSidTlv>
implementedInterface()
default @NonNull IsoSystemIdentifier
requireIsoSystemId()
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
requireNeighborId()
Return neighborId, guaranteed to be non-null.default @NonNull Weight
requireWeight()
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
-
-
-
-
Method Detail
-
implementedInterface
Class<? extends LanAdjSidTlv> implementedInterface()
- Specified by:
implementedInterface
in interfaceAdjFlags
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
- Specified by:
implementedInterface
in interfaceSidLabelIndex
-
getWeight
Weight getWeight()
Return weight, ornull
if it is not present.- Returns:
Weight
weight, ornull
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, ornull
if it is not present.- Returns:
IsoSystemIdentifier
isoSystemId, ornull
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, ornull
if it is not present.- Returns:
Ipv4AddressNoZone
neighborId, ornull
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
-
-