Interface EdgeAttributes
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject,org.opendaylight.yangtools.yang.binding.DataContainer,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
EdgeAttributes
@Generated("mdsal-binding-generator") public interface EdgeAttributes extends org.opendaylight.yangtools.yang.binding.DataObject
Attributes associated with the EdgeThis class represents the following YANG schema fragment defined in module graph
grouping edge-attributes { leaf metric { type uint32; } leaf te-metric { type uint32; } leaf admin-group { type uint32; } leaf local-address { type inet:ip-address; } leaf remote-address { type inet:ip-address; } leaf local-identifier { type uint32; } leaf remote-identifier { type uint32; } leaf max-link-bandwidth { type decimal-bandwidth; } leaf max-resv-link-bandwidth { type decimal-bandwidth; } list unreserved-bandwidth { max-elements 8; ordered-by user; key class-type; leaf class-type { type uint8 { range 0..7; } } leaf bandwidth { type decimal-bandwidth; } } leaf delay { type delay; } container min-max-delay { leaf min-delay { type delay; } leaf max-delay { type delay; } } leaf jitter { type delay; } leaf loss { type loss; } leaf residual-bandwidth { type decimal-bandwidth; } leaf available-bandwidth { type decimal-bandwidth; } leaf utilized-bandwidth { type decimal-bandwidth; } leaf adj-sid { units "MPLS label"; type uint32; } leaf backup-adj-sid { units "MPLS label"; type uint32; } leaf-list srlgs { type uint32; } }
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QNameQNAMEYANG identifier of the statement represented by this class.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description org.opendaylight.yangtools.yang.common.Uint32getAdjSid()Return adjSid, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint32getAdminGroup()Return adminGroup, ornullif it is not present.DecimalBandwidthgetAvailableBandwidth()Return availableBandwidth, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint32getBackupAdjSid()Return backupAdjSid, ornullif it is not present.DelaygetDelay()Return delay, ornullif it is not present.DelaygetJitter()Return jitter, ornullif it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddressgetLocalAddress()Return localAddress, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint32getLocalIdentifier()Return localIdentifier, ornullif it is not present.LossgetLoss()Return loss, ornullif it is not present.DecimalBandwidthgetMaxLinkBandwidth()Return maxLinkBandwidth, ornullif it is not present.DecimalBandwidthgetMaxResvLinkBandwidth()Return maxResvLinkBandwidth, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint32getMetric()Return metric, ornullif it is not present.MinMaxDelaygetMinMaxDelay()Return minMaxDelay, ornullif it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddressgetRemoteAddress()Return remoteAddress, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint32getRemoteIdentifier()Return remoteIdentifier, ornullif it is not present.DecimalBandwidthgetResidualBandwidth()Return residualBandwidth, ornullif it is not present.@Nullable Set<org.opendaylight.yangtools.yang.common.Uint32>getSrlgs()Return srlgs, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint32getTeMetric()Return teMetric, ornullif it is not present.@Nullable List<UnreservedBandwidth>getUnreservedBandwidth()Return unreservedBandwidth, ornullif it is not present.DecimalBandwidthgetUtilizedBandwidth()Return utilizedBandwidth, ornullif it is not present.Class<? extends EdgeAttributes>implementedInterface()default @NonNull List<UnreservedBandwidth>nonnullUnreservedBandwidth()Return unreservedBandwidth, or an empty list if it is not present.default @NonNull org.opendaylight.yangtools.yang.common.Uint32requireAdjSid()Return adjSid, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32requireAdminGroup()Return adminGroup, guaranteed to be non-null.default @NonNull DecimalBandwidthrequireAvailableBandwidth()Return availableBandwidth, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32requireBackupAdjSid()Return backupAdjSid, guaranteed to be non-null.default @NonNull DelayrequireDelay()Return delay, guaranteed to be non-null.default @NonNull DelayrequireJitter()Return jitter, guaranteed to be non-null.default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddressrequireLocalAddress()Return localAddress, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32requireLocalIdentifier()Return localIdentifier, guaranteed to be non-null.default @NonNull LossrequireLoss()Return loss, guaranteed to be non-null.default @NonNull DecimalBandwidthrequireMaxLinkBandwidth()Return maxLinkBandwidth, guaranteed to be non-null.default @NonNull DecimalBandwidthrequireMaxResvLinkBandwidth()Return maxResvLinkBandwidth, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32requireMetric()Return metric, guaranteed to be non-null.default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddressrequireRemoteAddress()Return remoteAddress, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32requireRemoteIdentifier()Return remoteIdentifier, guaranteed to be non-null.default @NonNull DecimalBandwidthrequireResidualBandwidth()Return residualBandwidth, guaranteed to be non-null.default @NonNull Set<org.opendaylight.yangtools.yang.common.Uint32>requireSrlgs()Return srlgs, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32requireTeMetric()Return teMetric, guaranteed to be non-null.default @NonNull DecimalBandwidthrequireUtilizedBandwidth()Return utilizedBandwidth, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends EdgeAttributes> implementedInterface()
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataContainer- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getMetric
org.opendaylight.yangtools.yang.common.Uint32 getMetric()
Return metric, ornullif it is not present.Standard Metric from the routing protocol- Returns:
Uint32metric, ornullif it is not present.
-
requireMetric
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireMetric()
Return metric, guaranteed to be non-null.Standard Metric from the routing protocol- Returns:
Uint32metric, guaranteed to be non-null.- Throws:
NoSuchElementException- if metric is not present
-
getTeMetric
org.opendaylight.yangtools.yang.common.Uint32 getTeMetric()
Return teMetric, ornullif it is not present.Traffic Engineering Metric- Returns:
Uint32teMetric, ornullif it is not present.
-
requireTeMetric
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireTeMetric()
Return teMetric, guaranteed to be non-null.Traffic Engineering Metric- Returns:
Uint32teMetric, guaranteed to be non-null.- Throws:
NoSuchElementException- if teMetric is not present
-
getAdminGroup
org.opendaylight.yangtools.yang.common.Uint32 getAdminGroup()
Return adminGroup, ornullif it is not present.Administrative group or color of the link- Returns:
Uint32adminGroup, ornullif it is not present.
-
requireAdminGroup
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireAdminGroup()
Return adminGroup, guaranteed to be non-null.Administrative group or color of the link- Returns:
Uint32adminGroup, guaranteed to be non-null.- Throws:
NoSuchElementException- if adminGroup is not present
-
getLocalAddress
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress getLocalAddress()
Return localAddress, ornullif it is not present.- Returns:
IpAddresslocalAddress, ornullif it is not present.
-
requireLocalAddress
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress requireLocalAddress()
Return localAddress, guaranteed to be non-null.- Returns:
IpAddresslocalAddress, guaranteed to be non-null.- Throws:
NoSuchElementException- if localAddress is not present
-
getRemoteAddress
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress getRemoteAddress()
Return remoteAddress, ornullif it is not present.- Returns:
IpAddressremoteAddress, ornullif it is not present.
-
requireRemoteAddress
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress requireRemoteAddress()
Return remoteAddress, guaranteed to be non-null.- Returns:
IpAddressremoteAddress, guaranteed to be non-null.- Throws:
NoSuchElementException- if remoteAddress is not present
-
getLocalIdentifier
org.opendaylight.yangtools.yang.common.Uint32 getLocalIdentifier()
Return localIdentifier, ornullif it is not present.- Returns:
Uint32localIdentifier, ornullif it is not present.
-
requireLocalIdentifier
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireLocalIdentifier()
Return localIdentifier, guaranteed to be non-null.- Returns:
Uint32localIdentifier, guaranteed to be non-null.- Throws:
NoSuchElementException- if localIdentifier is not present
-
getRemoteIdentifier
org.opendaylight.yangtools.yang.common.Uint32 getRemoteIdentifier()
Return remoteIdentifier, ornullif it is not present.- Returns:
Uint32remoteIdentifier, ornullif it is not present.
-
requireRemoteIdentifier
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireRemoteIdentifier()
Return remoteIdentifier, guaranteed to be non-null.- Returns:
Uint32remoteIdentifier, guaranteed to be non-null.- Throws:
NoSuchElementException- if remoteIdentifier is not present
-
getMaxLinkBandwidth
DecimalBandwidth getMaxLinkBandwidth()
Return maxLinkBandwidth, ornullif it is not present.Maximum bandwidth that can be use- Returns:
DecimalBandwidthmaxLinkBandwidth, ornullif it is not present.
-
requireMaxLinkBandwidth
default @NonNull DecimalBandwidth requireMaxLinkBandwidth()
Return maxLinkBandwidth, guaranteed to be non-null.Maximum bandwidth that can be use- Returns:
DecimalBandwidthmaxLinkBandwidth, guaranteed to be non-null.- Throws:
NoSuchElementException- if maxLinkBandwidth is not present
-
getMaxResvLinkBandwidth
DecimalBandwidth getMaxResvLinkBandwidth()
Return maxResvLinkBandwidth, ornullif it is not present.Maximum amount of bandwidth that can be reserved- Returns:
DecimalBandwidthmaxResvLinkBandwidth, ornullif it is not present.
-
requireMaxResvLinkBandwidth
default @NonNull DecimalBandwidth requireMaxResvLinkBandwidth()
Return maxResvLinkBandwidth, guaranteed to be non-null.Maximum amount of bandwidth that can be reserved- Returns:
DecimalBandwidthmaxResvLinkBandwidth, guaranteed to be non-null.- Throws:
NoSuchElementException- if maxResvLinkBandwidth is not present
-
getUnreservedBandwidth
@Nullable List<UnreservedBandwidth> getUnreservedBandwidth()
Return unreservedBandwidth, ornullif it is not present.Unreserved bandwidth for 0-7 class type- Returns:
List<UnreservedBandwidth>unreservedBandwidth, ornullif it is not present.
-
nonnullUnreservedBandwidth
default @NonNull List<UnreservedBandwidth> nonnullUnreservedBandwidth()
Return unreservedBandwidth, or an empty list if it is not present.- Returns:
List<UnreservedBandwidth>unreservedBandwidth, or an empty list if it is not present.
-
getDelay
Delay getDelay()
Return delay, ornullif it is not present.Unidirectional Delay.- Returns:
Delaydelay, ornullif it is not present.
-
requireDelay
default @NonNull Delay requireDelay()
Return delay, guaranteed to be non-null.Unidirectional Delay.- Returns:
Delaydelay, guaranteed to be non-null.- Throws:
NoSuchElementException- if delay is not present
-
getMinMaxDelay
MinMaxDelay getMinMaxDelay()
Return minMaxDelay, ornullif it is not present.Min/Max Unidirectional Delay- Returns:
MinMaxDelayminMaxDelay, ornullif it is not present.
-
getJitter
Delay getJitter()
Return jitter, ornullif it is not present.Unidirectional Delay Variation- Returns:
Delayjitter, ornullif it is not present.
-
requireJitter
default @NonNull Delay requireJitter()
Return jitter, guaranteed to be non-null.Unidirectional Delay Variation- Returns:
Delayjitter, guaranteed to be non-null.- Throws:
NoSuchElementException- if jitter is not present
-
getLoss
Loss getLoss()
Return loss, ornullif it is not present.Unidirectional Loss- Returns:
Lossloss, ornullif it is not present.
-
requireLoss
default @NonNull Loss requireLoss()
Return loss, guaranteed to be non-null.Unidirectional Loss- Returns:
Lossloss, guaranteed to be non-null.- Throws:
NoSuchElementException- if loss is not present
-
getResidualBandwidth
DecimalBandwidth getResidualBandwidth()
Return residualBandwidth, ornullif it is not present.Unidirectional Residual Bandwidth- Returns:
DecimalBandwidthresidualBandwidth, ornullif it is not present.
-
requireResidualBandwidth
default @NonNull DecimalBandwidth requireResidualBandwidth()
Return residualBandwidth, guaranteed to be non-null.Unidirectional Residual Bandwidth- Returns:
DecimalBandwidthresidualBandwidth, guaranteed to be non-null.- Throws:
NoSuchElementException- if residualBandwidth is not present
-
getAvailableBandwidth
DecimalBandwidth getAvailableBandwidth()
Return availableBandwidth, ornullif it is not present.Unidirectional Available Bandwidth- Returns:
DecimalBandwidthavailableBandwidth, ornullif it is not present.
-
requireAvailableBandwidth
default @NonNull DecimalBandwidth requireAvailableBandwidth()
Return availableBandwidth, guaranteed to be non-null.Unidirectional Available Bandwidth- Returns:
DecimalBandwidthavailableBandwidth, guaranteed to be non-null.- Throws:
NoSuchElementException- if availableBandwidth is not present
-
getUtilizedBandwidth
DecimalBandwidth getUtilizedBandwidth()
Return utilizedBandwidth, ornullif it is not present.Unidirectional Utilized Bandwidth- Returns:
DecimalBandwidthutilizedBandwidth, ornullif it is not present.
-
requireUtilizedBandwidth
default @NonNull DecimalBandwidth requireUtilizedBandwidth()
Return utilizedBandwidth, guaranteed to be non-null.Unidirectional Utilized Bandwidth- Returns:
DecimalBandwidthutilizedBandwidth, guaranteed to be non-null.- Throws:
NoSuchElementException- if utilizedBandwidth is not present
-
getAdjSid
org.opendaylight.yangtools.yang.common.Uint32 getAdjSid()
Return adjSid, ornullif it is not present.Segment Routing Adjacency Identifier- Returns:
Uint32adjSid, ornullif it is not present.
-
requireAdjSid
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireAdjSid()
Return adjSid, guaranteed to be non-null.Segment Routing Adjacency Identifier- Returns:
Uint32adjSid, guaranteed to be non-null.- Throws:
NoSuchElementException- if adjSid is not present
-
getBackupAdjSid
org.opendaylight.yangtools.yang.common.Uint32 getBackupAdjSid()
Return backupAdjSid, ornullif it is not present.Segment Routing Backup Adjacency Identifier- Returns:
Uint32backupAdjSid, ornullif it is not present.
-
requireBackupAdjSid
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireBackupAdjSid()
Return backupAdjSid, guaranteed to be non-null.Segment Routing Backup Adjacency Identifier- Returns:
Uint32backupAdjSid, guaranteed to be non-null.- Throws:
NoSuchElementException- if backupAdjSid is not present
-
getSrlgs
@Nullable Set<org.opendaylight.yangtools.yang.common.Uint32> getSrlgs()
Return srlgs, ornullif it is not present.List of Shared Risk Link Group Attributes- Returns:
Set<Uint32>srlgs, ornullif it is not present.
-
requireSrlgs
default @NonNull Set<org.opendaylight.yangtools.yang.common.Uint32> requireSrlgs()
Return srlgs, guaranteed to be non-null.List of Shared Risk Link Group Attributes- Returns:
Set<Uint32>srlgs, guaranteed to be non-null.- Throws:
NoSuchElementException- if srlgs is not present
-
-