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.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>
,org.opendaylight.yangtools.binding.BindingObject
,org.opendaylight.yangtools.binding.DataContainer
,org.opendaylight.yangtools.binding.Grouping
,SidLabelIndex
- All Known Subinterfaces:
SrLanAdjIds
@Generated("mdsal-binding-generator")
public interface LanAdjSidTlv
extends org.opendaylight.yangtools.binding.Grouping, 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; }
-
Method Summary
Modifier and TypeMethodDescriptionReturn isoSystemId, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4AddressNoZone
Return neighborId, ornull
if it is not present.Return weight, ornull
if it is not present.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.yangtools.binding.BindingContract
implementedInterface
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.segment.routing.ext.rev200120.SidLabelIndex
getSidLabelIndex
-
Method Details
-
getWeight
Weight getWeight()Return weight, ornull
if it is not present.- Returns:
Weight
weight, ornull
if it is not present.
-
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
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
-