Interface LinkstateAttribute
- All Superinterfaces:
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
,LinkLrIdentifiers
- All Known Subinterfaces:
LinkAttributes
@Generated("mdsal-binding-generator")
public interface LinkstateAttribute
extends org.opendaylight.yangtools.binding.Grouping, LinkLrIdentifiers
This class represents the following YANG schema fragment defined in module bgp-linkstate
grouping linkstate-attribute { leaf local-ipv4-router-id { type ipv4-router-identifier; } leaf local-ipv6-router-id { type ipv6-router-identifier; } leaf remote-ipv4-router-id { type ipv4-router-identifier; } leaf remote-ipv6-router-id { type ipv6-router-identifier; } uses link-lr-identifiers; container standard-metric { uses standard-attributes; } leaf mpls-protocol { type mpls-protocol-mask; } leaf metric { type netc:metric; } leaf-list shared-risk-link-groups { type rsvp:srlg-id; } leaf opaque-link { type binary; } leaf link-name { type string; } container sr-attribute { uses sr-attributes; } container egress-peer-engineering { uses peer-engineering; } container srv6 { container srv6-end-x-sid { uses bgp-sr:srv6-end-x-sid; } container srv6-lan-end-x-sid { uses bgp-sr:srv6-lan-end-x-sid; } } container performance-metric { uses performance-attributes; } container asla-metric { uses asla-tlv; } leaf-list extended-admin-group { type bgp-sr:extended-admin-group; } list l2-bundle-member { uses l2-bundle-member; } }
-
Method Summary
Modifier and TypeMethodDescriptionReturn aslaMetric, ornull
if it is not present.Return egressPeerEngineering, ornull
if it is not present.@Nullable Set
<ExtendedAdminGroup> Return extendedAdminGroup, ornull
if it is not present.@Nullable List
<L2BundleMember> Return l2BundleMember, ornull
if it is not present.Return linkName, ornull
if it is not present.Return localIpv4RouterId, ornull
if it is not present.Return localIpv6RouterId, ornull
if it is not present.Return metric, ornull
if it is not present.Return mplsProtocol, ornull
if it is not present.byte[]
Return opaqueLink, ornull
if it is not present.Return performanceMetric, ornull
if it is not present.Return remoteIpv4RouterId, ornull
if it is not present.Return remoteIpv6RouterId, ornull
if it is not present.Return sharedRiskLinkGroups, ornull
if it is not present.Return srAttribute, ornull
if it is not present.getSrv6()
Return srv6, ornull
if it is not present.Return standardMetric, ornull
if it is not present.@NonNull AslaMetric
Return aslaMetric, or an empty instance if it is not present.@NonNull EgressPeerEngineering
Return egressPeerEngineering, or an empty instance if it is not present.default @NonNull List
<L2BundleMember> Return l2BundleMember, or an empty list if it is not present.@NonNull PerformanceMetric
Return performanceMetric, or an empty instance if it is not present.@NonNull SrAttribute
Return srAttribute, or an empty instance if it is not present.@NonNull Srv6
Return srv6, or an empty instance if it is not present.@NonNull StandardMetric
Return standardMetric, or an empty instance if it is not present.default @NonNull Set
<ExtendedAdminGroup> Return extendedAdminGroup, guaranteed to be non-null.default @NonNull String
Return linkName, guaranteed to be non-null.default @NonNull Ipv4RouterIdentifier
Return localIpv4RouterId, guaranteed to be non-null.default @NonNull Ipv6RouterIdentifier
Return localIpv6RouterId, guaranteed to be non-null.default @NonNull Metric
Return metric, guaranteed to be non-null.default @NonNull MplsProtocolMask
Return mplsProtocol, guaranteed to be non-null.default byte @NonNull []
Return opaqueLink, guaranteed to be non-null.default @NonNull Ipv4RouterIdentifier
Return remoteIpv4RouterId, guaranteed to be non-null.default @NonNull Ipv6RouterIdentifier
Return remoteIpv6RouterId, guaranteed to be non-null.Return sharedRiskLinkGroups, guaranteed to be non-null.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.linkstate.rev200120.LinkLrIdentifiers
getLinkLocalIdentifier, getLinkRemoteIdentifier, requireLinkLocalIdentifier, requireLinkRemoteIdentifier
-
Method Details
-
getLocalIpv4RouterId
Ipv4RouterIdentifier getLocalIpv4RouterId()Return localIpv4RouterId, ornull
if it is not present.- Returns:
Ipv4RouterIdentifier
localIpv4RouterId, ornull
if it is not present.
-
requireLocalIpv4RouterId
Return localIpv4RouterId, guaranteed to be non-null.- Returns:
Ipv4RouterIdentifier
localIpv4RouterId, guaranteed to be non-null.- Throws:
NoSuchElementException
- if localIpv4RouterId is not present
-
getLocalIpv6RouterId
Ipv6RouterIdentifier getLocalIpv6RouterId()Return localIpv6RouterId, ornull
if it is not present.- Returns:
Ipv6RouterIdentifier
localIpv6RouterId, ornull
if it is not present.
-
requireLocalIpv6RouterId
Return localIpv6RouterId, guaranteed to be non-null.- Returns:
Ipv6RouterIdentifier
localIpv6RouterId, guaranteed to be non-null.- Throws:
NoSuchElementException
- if localIpv6RouterId is not present
-
getRemoteIpv4RouterId
Ipv4RouterIdentifier getRemoteIpv4RouterId()Return remoteIpv4RouterId, ornull
if it is not present.- Returns:
Ipv4RouterIdentifier
remoteIpv4RouterId, ornull
if it is not present.
-
requireRemoteIpv4RouterId
Return remoteIpv4RouterId, guaranteed to be non-null.- Returns:
Ipv4RouterIdentifier
remoteIpv4RouterId, guaranteed to be non-null.- Throws:
NoSuchElementException
- if remoteIpv4RouterId is not present
-
getRemoteIpv6RouterId
Ipv6RouterIdentifier getRemoteIpv6RouterId()Return remoteIpv6RouterId, ornull
if it is not present.- Returns:
Ipv6RouterIdentifier
remoteIpv6RouterId, ornull
if it is not present.
-
requireRemoteIpv6RouterId
Return remoteIpv6RouterId, guaranteed to be non-null.- Returns:
Ipv6RouterIdentifier
remoteIpv6RouterId, guaranteed to be non-null.- Throws:
NoSuchElementException
- if remoteIpv6RouterId is not present
-
getStandardMetric
StandardMetric getStandardMetric()Return standardMetric, ornull
if it is not present.- Returns:
StandardMetric
standardMetric, ornull
if it is not present.
-
nonnullStandardMetric
@NonNull StandardMetric nonnullStandardMetric()Return standardMetric, or an empty instance if it is not present.- Returns:
StandardMetric
standardMetric, or an empty instance if it is not present.
-
getMplsProtocol
MplsProtocolMask getMplsProtocol()Return mplsProtocol, ornull
if it is not present.- Returns:
MplsProtocolMask
mplsProtocol, ornull
if it is not present.
-
requireMplsProtocol
Return mplsProtocol, guaranteed to be non-null.- Returns:
MplsProtocolMask
mplsProtocol, guaranteed to be non-null.- Throws:
NoSuchElementException
- if mplsProtocol is not present
-
getMetric
Metric getMetric()Return metric, ornull
if it is not present.- Returns:
Metric
metric, ornull
if it is not present.
-
requireMetric
Return metric, guaranteed to be non-null.- Returns:
Metric
metric, guaranteed to be non-null.- Throws:
NoSuchElementException
- if metric is not present
-
getOpaqueLink
byte[] getOpaqueLink()Return opaqueLink, ornull
if it is not present.- Returns:
byte[]
opaqueLink, ornull
if it is not present.
-
requireOpaqueLink
default byte @NonNull [] requireOpaqueLink()Return opaqueLink, guaranteed to be non-null.- Returns:
byte[]
opaqueLink, guaranteed to be non-null.- Throws:
NoSuchElementException
- if opaqueLink is not present
-
getLinkName
String getLinkName()Return linkName, ornull
if it is not present.- Returns:
String
linkName, ornull
if it is not present.
-
requireLinkName
Return linkName, guaranteed to be non-null.- Returns:
String
linkName, guaranteed to be non-null.- Throws:
NoSuchElementException
- if linkName is not present
-
getSrAttribute
SrAttribute getSrAttribute()Return srAttribute, ornull
if it is not present.- Returns:
SrAttribute
srAttribute, ornull
if it is not present.
-
nonnullSrAttribute
@NonNull SrAttribute nonnullSrAttribute()Return srAttribute, or an empty instance if it is not present.- Returns:
SrAttribute
srAttribute, or an empty instance if it is not present.
-
getEgressPeerEngineering
EgressPeerEngineering getEgressPeerEngineering()Return egressPeerEngineering, ornull
if it is not present.- Returns:
EgressPeerEngineering
egressPeerEngineering, ornull
if it is not present.
-
nonnullEgressPeerEngineering
@NonNull EgressPeerEngineering nonnullEgressPeerEngineering()Return egressPeerEngineering, or an empty instance if it is not present.- Returns:
EgressPeerEngineering
egressPeerEngineering, or an empty instance if it is not present.
-
getSrv6
Srv6 getSrv6()Return srv6, ornull
if it is not present.- Returns:
Srv6
srv6, ornull
if it is not present.
-
nonnullSrv6
@NonNull Srv6 nonnullSrv6()Return srv6, or an empty instance if it is not present.- Returns:
Srv6
srv6, or an empty instance if it is not present.
-
getPerformanceMetric
PerformanceMetric getPerformanceMetric()Return performanceMetric, ornull
if it is not present.- Returns:
PerformanceMetric
performanceMetric, ornull
if it is not present.
-
nonnullPerformanceMetric
@NonNull PerformanceMetric nonnullPerformanceMetric()Return performanceMetric, or an empty instance if it is not present.- Returns:
PerformanceMetric
performanceMetric, or an empty instance if it is not present.
-
getAslaMetric
AslaMetric getAslaMetric()Return aslaMetric, ornull
if it is not present.- Returns:
AslaMetric
aslaMetric, ornull
if it is not present.
-
nonnullAslaMetric
@NonNull AslaMetric nonnullAslaMetric()Return aslaMetric, or an empty instance if it is not present.- Returns:
AslaMetric
aslaMetric, or an empty instance if it is not present.
-
getExtendedAdminGroup
@Nullable Set<ExtendedAdminGroup> getExtendedAdminGroup()Return extendedAdminGroup, ornull
if it is not present.- Returns:
Set<ExtendedAdminGroup>
extendedAdminGroup, ornull
if it is not present.
-
requireExtendedAdminGroup
Return extendedAdminGroup, guaranteed to be non-null.- Returns:
Set<ExtendedAdminGroup>
extendedAdminGroup, guaranteed to be non-null.- Throws:
NoSuchElementException
- if extendedAdminGroup is not present
-
getL2BundleMember
@Nullable List<L2BundleMember> getL2BundleMember()Return l2BundleMember, ornull
if it is not present.- Returns:
List<L2BundleMember>
l2BundleMember, ornull
if it is not present.
-
nonnullL2BundleMember
Return l2BundleMember, or an empty list if it is not present.- Returns:
List<L2BundleMember>
l2BundleMember, or an empty list if it is not present.
-