Interface TedLinkAttributes
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
@Generated("mdsal-binding-generator") public interface TedLinkAttributes extends org.opendaylight.yangtools.yang.binding.DataObject
TED Attributes associated with the link.This class represents the following YANG schema fragment defined in module ted
grouping ted-link-attributes { leaf color { type uint32; } leaf max-link-bandwidth { type decimal64 { fraction-digits 2; } } leaf max-resv-link-bandwidth { type decimal64 { fraction-digits 2; } } list unreserved-bandwidth { max-elements 8; key priority; leaf priority { type uint8 { range 0..7; } } leaf bandwidth { type decimal64 { fraction-digits 2; } } } leaf te-default-metric { type uint32; } container srlg { uses srlg-attributes; } }
The schema path to identify an instance is ted/ted-link-attributes
-
-
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 org.opendaylight.yangtools.yang.common.Uint32
getColor()
Return color, ornull
if it is not present.BigDecimal
getMaxLinkBandwidth()
Return maxLinkBandwidth, ornull
if it is not present.BigDecimal
getMaxResvLinkBandwidth()
Return maxResvLinkBandwidth, ornull
if it is not present.Srlg
getSrlg()
Return srlg, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint32
getTeDefaultMetric()
Return teDefaultMetric, ornull
if it is not present.@Nullable Map<UnreservedBandwidthKey,UnreservedBandwidth>
getUnreservedBandwidth()
Return unreservedBandwidth, ornull
if it is not present.Class<? extends TedLinkAttributes>
implementedInterface()
default @NonNull Map<UnreservedBandwidthKey,UnreservedBandwidth>
nonnullUnreservedBandwidth()
Return unreservedBandwidth, or an empty list if it is not present.
-
-
-
Method Detail
-
implementedInterface
Class<? extends TedLinkAttributes> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getColor
org.opendaylight.yangtools.yang.common.Uint32 getColor()
Return color, ornull
if it is not present.Administrative group or color of the link
- Returns:
org.opendaylight.yangtools.yang.common.Uint32
color, ornull
if it is not present.
-
getMaxLinkBandwidth
BigDecimal getMaxLinkBandwidth()
Return maxLinkBandwidth, ornull
if it is not present.Maximum bandwidth that can be see on this link in this direction. Units in bytes per second
- Returns:
java.math.BigDecimal
maxLinkBandwidth, ornull
if it is not present.
-
getMaxResvLinkBandwidth
BigDecimal getMaxResvLinkBandwidth()
Return maxResvLinkBandwidth, ornull
if it is not present.Maximum amount of bandwidth that can be reserved in this direction in this link. Units in bytes per second
- Returns:
java.math.BigDecimal
maxResvLinkBandwidth, ornull
if it is not present.
-
getUnreservedBandwidth
@Nullable Map<UnreservedBandwidthKey,UnreservedBandwidth> getUnreservedBandwidth()
Return unreservedBandwidth, ornull
if it is not present.Unreserved bandwidth for 0-7 priority levels. Units in bytes per second
- Returns:
java.util.Map
unreservedBandwidth, ornull
if it is not present.
-
nonnullUnreservedBandwidth
default @NonNull Map<UnreservedBandwidthKey,UnreservedBandwidth> nonnullUnreservedBandwidth()
Return unreservedBandwidth, or an empty list if it is not present.- Returns:
java.util.Map
unreservedBandwidth, or an empty list if it is not present.
-
getTeDefaultMetric
org.opendaylight.yangtools.yang.common.Uint32 getTeDefaultMetric()
Return teDefaultMetric, ornull
if it is not present.Traffic Engineering Metric
- Returns:
org.opendaylight.yangtools.yang.common.Uint32
teDefaultMetric, ornull
if it is not present.
-
getSrlg
Srlg getSrlg()
Return srlg, ornull
if it is not present.Shared Risk Link Group Attributes
- Returns:
org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.ted.rev131021.ted.link.attributes.Srlg
srlg, ornull
if it is not present.
-
-