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
- All Known Subinterfaces:
LinkAttributes
@Generated("mdsal-binding-generator")
public interface LinkstateAttribute
extends org.opendaylight.yangtools.binding.Grouping
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; } leaf mpls-protocol { type mpls-protocol-mask; } leaf te-metric { type netc:te-metric; } leaf metric { type netc:metric; } leaf-list shared-risk-link-groups { type rsvp:srlg-id; } leaf link-name { type string; } leaf max-link-bandwidth { type netc:bandwidth; } leaf max-reservable-bandwidth { type netc:bandwidth; } list unreserved-bandwidth { key priority; uses unreserved-bandwidth; } leaf link-protection { type link-protection-type; } leaf admin-group { type administrative-group; } list sr-adj-ids { uses bgp-sr:adj-sid-tlv; } list sr-lan-adj-ids { uses bgp-sr:lan-adj-sid-tlv; } container peer-node-sid { uses bgp-sr:epe-adj-sid-tlv; } container peer-adj-sid { uses bgp-sr:epe-adj-sid-tlv; } list peer-set-sids { uses bgp-sr:epe-adj-sid-tlv; } leaf link-delay { type delay; } container link-min-max-delay { leaf min-delay { type delay; } leaf max-delay { type delay; } } leaf delay-variation { type delay; } leaf link-loss { type loss; } leaf residual-bandwidth { type netc:bandwidth; } leaf available-bandwidth { type netc:bandwidth; } leaf utilized-bandwidth { type netc:bandwidth; } }
-
Method Summary
Modifier and TypeMethodDescriptionReturn adminGroup, ornull
if it is not present.Return availableBandwidth, ornull
if it is not present.Return delayVariation, ornull
if it is not present.Return linkDelay, ornull
if it is not present.Return linkLoss, ornull
if it is not present.Return linkMinMaxDelay, ornull
if it is not present.Return linkName, ornull
if it is not present.Return linkProtection, ornull
if it is not present.Return localIpv4RouterId, ornull
if it is not present.Return localIpv6RouterId, ornull
if it is not present.Return maxLinkBandwidth, ornull
if it is not present.Return maxReservableBandwidth, ornull
if it is not present.Return metric, ornull
if it is not present.Return mplsProtocol, ornull
if it is not present.Return peerAdjSid, ornull
if it is not present.Return peerNodeSid, ornull
if it is not present.@Nullable List
<PeerSetSids> Return peerSetSids, ornull
if it is not present.Return remoteIpv4RouterId, ornull
if it is not present.Return remoteIpv6RouterId, ornull
if it is not present.Return residualBandwidth, ornull
if it is not present.Return sharedRiskLinkGroups, ornull
if it is not present.Return srAdjIds, ornull
if it is not present.@Nullable List
<SrLanAdjIds> Return srLanAdjIds, ornull
if it is not present.Return teMetric, ornull
if it is not present.@Nullable Map
<UnreservedBandwidthKey, UnreservedBandwidth> Return unreservedBandwidth, ornull
if it is not present.Return utilizedBandwidth, ornull
if it is not present.@NonNull LinkMinMaxDelay
Return linkMinMaxDelay, or an empty instance if it is not present.@NonNull PeerAdjSid
Return peerAdjSid, or an empty instance if it is not present.@NonNull PeerNodeSid
Return peerNodeSid, or an empty instance if it is not present.default @NonNull List
<PeerSetSids> Return peerSetSids, or an empty list if it is not present.Return srAdjIds, or an empty list if it is not present.default @NonNull List
<SrLanAdjIds> Return srLanAdjIds, or an empty list if it is not present.default @NonNull Map
<UnreservedBandwidthKey, UnreservedBandwidth> Return unreservedBandwidth, or an empty list if it is not present.default @NonNull AdministrativeGroup
Return adminGroup, guaranteed to be non-null.default @NonNull Bandwidth
Return availableBandwidth, guaranteed to be non-null.default @NonNull Delay
Return delayVariation, guaranteed to be non-null.default @NonNull Delay
Return linkDelay, guaranteed to be non-null.default @NonNull Loss
Return linkLoss, guaranteed to be non-null.default @NonNull String
Return linkName, guaranteed to be non-null.default @NonNull LinkProtectionType
Return linkProtection, 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 Bandwidth
Return maxLinkBandwidth, guaranteed to be non-null.default @NonNull Bandwidth
Return maxReservableBandwidth, 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 @NonNull Ipv4RouterIdentifier
Return remoteIpv4RouterId, guaranteed to be non-null.default @NonNull Ipv6RouterIdentifier
Return remoteIpv6RouterId, guaranteed to be non-null.default @NonNull Bandwidth
Return residualBandwidth, guaranteed to be non-null.Return sharedRiskLinkGroups, guaranteed to be non-null.default @NonNull TeMetric
Return teMetric, guaranteed to be non-null.default @NonNull Bandwidth
Return utilizedBandwidth, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
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
-
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
-
getTeMetric
TeMetric getTeMetric()Return teMetric, ornull
if it is not present.- Returns:
TeMetric
teMetric, ornull
if it is not present.
-
requireTeMetric
Return teMetric, guaranteed to be non-null.- Returns:
TeMetric
teMetric, guaranteed to be non-null.- Throws:
NoSuchElementException
- if teMetric 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
-
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
-
getMaxLinkBandwidth
Bandwidth getMaxLinkBandwidth()Return maxLinkBandwidth, ornull
if it is not present.- Returns:
Bandwidth
maxLinkBandwidth, ornull
if it is not present.
-
requireMaxLinkBandwidth
Return maxLinkBandwidth, guaranteed to be non-null.- Returns:
Bandwidth
maxLinkBandwidth, guaranteed to be non-null.- Throws:
NoSuchElementException
- if maxLinkBandwidth is not present
-
getMaxReservableBandwidth
Bandwidth getMaxReservableBandwidth()Return maxReservableBandwidth, ornull
if it is not present.- Returns:
Bandwidth
maxReservableBandwidth, ornull
if it is not present.
-
requireMaxReservableBandwidth
Return maxReservableBandwidth, guaranteed to be non-null.- Returns:
Bandwidth
maxReservableBandwidth, guaranteed to be non-null.- Throws:
NoSuchElementException
- if maxReservableBandwidth is not present
-
getUnreservedBandwidth
@Nullable Map<UnreservedBandwidthKey,UnreservedBandwidth> getUnreservedBandwidth()Return unreservedBandwidth, ornull
if it is not present.- Returns:
Map<UnreservedBandwidthKey, UnreservedBandwidth>
unreservedBandwidth, ornull
if it is not present.
-
nonnullUnreservedBandwidth
Return unreservedBandwidth, or an empty list if it is not present.- Returns:
Map<UnreservedBandwidthKey, UnreservedBandwidth>
unreservedBandwidth, or an empty list if it is not present.
-
getLinkProtection
LinkProtectionType getLinkProtection()Return linkProtection, ornull
if it is not present.- Returns:
LinkProtectionType
linkProtection, ornull
if it is not present.
-
requireLinkProtection
Return linkProtection, guaranteed to be non-null.- Returns:
LinkProtectionType
linkProtection, guaranteed to be non-null.- Throws:
NoSuchElementException
- if linkProtection is not present
-
getAdminGroup
AdministrativeGroup getAdminGroup()Return adminGroup, ornull
if it is not present.- Returns:
AdministrativeGroup
adminGroup, ornull
if it is not present.
-
requireAdminGroup
Return adminGroup, guaranteed to be non-null.- Returns:
AdministrativeGroup
adminGroup, guaranteed to be non-null.- Throws:
NoSuchElementException
- if adminGroup is not present
-
getSrAdjIds
Return srAdjIds, ornull
if it is not present.- Returns:
List<SrAdjIds>
srAdjIds, ornull
if it is not present.
-
nonnullSrAdjIds
Return srAdjIds, or an empty list if it is not present.- Returns:
List<SrAdjIds>
srAdjIds, or an empty list if it is not present.
-
getSrLanAdjIds
@Nullable List<SrLanAdjIds> getSrLanAdjIds()Return srLanAdjIds, ornull
if it is not present.- Returns:
List<SrLanAdjIds>
srLanAdjIds, ornull
if it is not present.
-
nonnullSrLanAdjIds
Return srLanAdjIds, or an empty list if it is not present.- Returns:
List<SrLanAdjIds>
srLanAdjIds, or an empty list if it is not present.
-
getPeerNodeSid
PeerNodeSid getPeerNodeSid()Return peerNodeSid, ornull
if it is not present.The SID representing the peer of the BGP session.
- Returns:
PeerNodeSid
peerNodeSid, ornull
if it is not present.
-
nonnullPeerNodeSid
@NonNull PeerNodeSid nonnullPeerNodeSid()Return peerNodeSid, or an empty instance if it is not present.- Returns:
PeerNodeSid
peerNodeSid, or an empty instance if it is not present.
-
getPeerAdjSid
PeerAdjSid getPeerAdjSid()Return peerAdjSid, ornull
if it is not present.The SID representing the peer of the BGP session.
- Returns:
PeerAdjSid
peerAdjSid, ornull
if it is not present.
-
nonnullPeerAdjSid
@NonNull PeerAdjSid nonnullPeerAdjSid()Return peerAdjSid, or an empty instance if it is not present.- Returns:
PeerAdjSid
peerAdjSid, or an empty instance if it is not present.
-
getPeerSetSids
@Nullable List<PeerSetSids> getPeerSetSids()Return peerSetSids, ornull
if it is not present.The SID representing the group the peer is part of.
- Returns:
List<PeerSetSids>
peerSetSids, ornull
if it is not present.
-
nonnullPeerSetSids
Return peerSetSids, or an empty list if it is not present.- Returns:
List<PeerSetSids>
peerSetSids, or an empty list if it is not present.
-
getLinkDelay
Delay getLinkDelay()Return linkDelay, ornull
if it is not present.Unidirectional Link Delay
- Returns:
Delay
linkDelay, ornull
if it is not present.
-
requireLinkDelay
Return linkDelay, guaranteed to be non-null.Unidirectional Link Delay
- Returns:
Delay
linkDelay, guaranteed to be non-null.- Throws:
NoSuchElementException
- if linkDelay is not present
-
getLinkMinMaxDelay
LinkMinMaxDelay getLinkMinMaxDelay()Return linkMinMaxDelay, ornull
if it is not present.Min/Max Unidirectional Link Delay
- Returns:
LinkMinMaxDelay
linkMinMaxDelay, ornull
if it is not present.
-
nonnullLinkMinMaxDelay
@NonNull LinkMinMaxDelay nonnullLinkMinMaxDelay()Return linkMinMaxDelay, or an empty instance if it is not present.- Returns:
LinkMinMaxDelay
linkMinMaxDelay, or an empty instance if it is not present.
-
getDelayVariation
Delay getDelayVariation()Return delayVariation, ornull
if it is not present.Unidirectional Delay Variation
- Returns:
Delay
delayVariation, ornull
if it is not present.
-
requireDelayVariation
Return delayVariation, guaranteed to be non-null.Unidirectional Delay Variation
- Returns:
Delay
delayVariation, guaranteed to be non-null.- Throws:
NoSuchElementException
- if delayVariation is not present
-
getLinkLoss
Loss getLinkLoss()Return linkLoss, ornull
if it is not present.Unidirectional Link Loss
- Returns:
Loss
linkLoss, ornull
if it is not present.
-
requireLinkLoss
Return linkLoss, guaranteed to be non-null.Unidirectional Link Loss
- Returns:
Loss
linkLoss, guaranteed to be non-null.- Throws:
NoSuchElementException
- if linkLoss is not present
-
getResidualBandwidth
Bandwidth getResidualBandwidth()Return residualBandwidth, ornull
if it is not present.Unidirectional Residual Bandwidth
- Returns:
Bandwidth
residualBandwidth, ornull
if it is not present.
-
requireResidualBandwidth
Return residualBandwidth, guaranteed to be non-null.Unidirectional Residual Bandwidth
- Returns:
Bandwidth
residualBandwidth, guaranteed to be non-null.- Throws:
NoSuchElementException
- if residualBandwidth is not present
-
getAvailableBandwidth
Bandwidth getAvailableBandwidth()Return availableBandwidth, ornull
if it is not present.Unidirectional Available Bandwidth
- Returns:
Bandwidth
availableBandwidth, ornull
if it is not present.
-
requireAvailableBandwidth
Return availableBandwidth, guaranteed to be non-null.Unidirectional Available Bandwidth
- Returns:
Bandwidth
availableBandwidth, guaranteed to be non-null.- Throws:
NoSuchElementException
- if availableBandwidth is not present
-
getUtilizedBandwidth
Bandwidth getUtilizedBandwidth()Return utilizedBandwidth, ornull
if it is not present.Unidirectional Utilized Bandwidth
- Returns:
Bandwidth
utilizedBandwidth, ornull
if it is not present.
-
requireUtilizedBandwidth
Return utilizedBandwidth, guaranteed to be non-null.Unidirectional Utilized Bandwidth
- Returns:
Bandwidth
utilizedBandwidth, guaranteed to be non-null.- Throws:
NoSuchElementException
- if utilizedBandwidth is not present
-