Interface EdgeAttributes
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>,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 Edge
This 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:ipv4-address;
}
leaf remote-address {
type inet:ipv4-address;
}
leaf local-address6 {
type inet:ipv6-address;
}
leaf remote-address6 {
type inet:ipv6-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 adj-sid6 {
units "MPLS label";
type uint32;
}
leaf backup-adj-sid6 {
units "MPLS label";
type uint32;
}
leaf-list srlgs {
type uint32;
}
}
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QNameYANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionorg.opendaylight.yangtools.yang.common.Uint32Return adjSid, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint32Return adjSid6, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint32Return adminGroup, ornullif it is not present.Return availableBandwidth, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint32Return backupAdjSid, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint32Return backupAdjSid6, ornullif it is not present.getDelay()Return delay, ornullif it is not present.Return jitter, ornullif it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4AddressReturn localAddress, ornullif it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6AddressReturn localAddress6, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint32Return localIdentifier, ornullif it is not present.getLoss()Return loss, ornullif it is not present.Return maxLinkBandwidth, ornullif it is not present.Return maxResvLinkBandwidth, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint32Return metric, ornullif it is not present.Return minMaxDelay, ornullif it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4AddressReturn remoteAddress, ornullif it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6AddressReturn remoteAddress6, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint32Return remoteIdentifier, ornullif it is not present.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.Uint32Return teMetric, ornullif it is not present.@Nullable List<UnreservedBandwidth>Return unreservedBandwidth, ornullif it is not present.Return utilizedBandwidth, ornullif it is not present.Class<? extends EdgeAttributes>@NonNull MinMaxDelayReturn minMaxDelay, or an empty instance if it is not present.default @NonNull List<UnreservedBandwidth>Return unreservedBandwidth, or an empty list if it is not present.default @NonNull org.opendaylight.yangtools.yang.common.Uint32Return adjSid, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32Return adjSid6, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32Return adminGroup, guaranteed to be non-null.default @NonNull DecimalBandwidthReturn availableBandwidth, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32Return backupAdjSid, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32Return backupAdjSid6, guaranteed to be non-null.default @NonNull DelayReturn delay, guaranteed to be non-null.default @NonNull DelayReturn jitter, guaranteed to be non-null.default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4AddressReturn localAddress, guaranteed to be non-null.default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6AddressReturn localAddress6, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32Return localIdentifier, guaranteed to be non-null.default @NonNull LossReturn loss, guaranteed to be non-null.default @NonNull DecimalBandwidthReturn maxLinkBandwidth, guaranteed to be non-null.default @NonNull DecimalBandwidthReturn maxResvLinkBandwidth, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32Return metric, guaranteed to be non-null.default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4AddressReturn remoteAddress, guaranteed to be non-null.default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6AddressReturn remoteAddress6, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32Return remoteIdentifier, guaranteed to be non-null.default @NonNull DecimalBandwidthReturn residualBandwidth, guaranteed to be non-null.default @NonNull Set<org.opendaylight.yangtools.yang.common.Uint32>Return srlgs, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32Return teMetric, guaranteed to be non-null.default @NonNull DecimalBandwidthReturn utilizedBandwidth, guaranteed to be non-null.
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends EdgeAttributes> implementedInterface()- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.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.Ipv4Address getLocalAddress()Return localAddress, ornullif it is not present.- Returns:
Ipv4AddresslocalAddress, ornullif it is not present.
-
requireLocalAddress
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Address requireLocalAddress()Return localAddress, guaranteed to be non-null.- Returns:
Ipv4AddresslocalAddress, 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.Ipv4Address getRemoteAddress()Return remoteAddress, ornullif it is not present.- Returns:
Ipv4AddressremoteAddress, ornullif it is not present.
-
requireRemoteAddress
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Address requireRemoteAddress()Return remoteAddress, guaranteed to be non-null.- Returns:
Ipv4AddressremoteAddress, guaranteed to be non-null.- Throws:
NoSuchElementException- if remoteAddress is not present
-
getLocalAddress6
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Address getLocalAddress6()Return localAddress6, ornullif it is not present.- Returns:
Ipv6AddresslocalAddress6, ornullif it is not present.
-
requireLocalAddress6
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Address requireLocalAddress6()Return localAddress6, guaranteed to be non-null.- Returns:
Ipv6AddresslocalAddress6, guaranteed to be non-null.- Throws:
NoSuchElementException- if localAddress6 is not present
-
getRemoteAddress6
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Address getRemoteAddress6()Return remoteAddress6, ornullif it is not present.- Returns:
Ipv6AddressremoteAddress6, ornullif it is not present.
-
requireRemoteAddress6
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Address requireRemoteAddress6()Return remoteAddress6, guaranteed to be non-null.- Returns:
Ipv6AddressremoteAddress6, guaranteed to be non-null.- Throws:
NoSuchElementException- if remoteAddress6 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
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
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
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
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.
-
nonnullMinMaxDelay
@NonNull MinMaxDelay nonnullMinMaxDelay()Return minMaxDelay, or an empty instance if it is not present.- Returns:
MinMaxDelayminMaxDelay, or an empty instance if 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
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
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
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
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
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 for IPv4- 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 for IPv4- 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 for IPv4- 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 for IPv4- Returns:
Uint32backupAdjSid, guaranteed to be non-null.- Throws:
NoSuchElementException- if backupAdjSid is not present
-
getAdjSid6
org.opendaylight.yangtools.yang.common.Uint32 getAdjSid6()Return adjSid6, ornullif it is not present.Segment Routing Adjacency Identifier for IPv6- Returns:
Uint32adjSid6, ornullif it is not present.
-
requireAdjSid6
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireAdjSid6()Return adjSid6, guaranteed to be non-null.Segment Routing Adjacency Identifier for IPv6- Returns:
Uint32adjSid6, guaranteed to be non-null.- Throws:
NoSuchElementException- if adjSid6 is not present
-
getBackupAdjSid6
org.opendaylight.yangtools.yang.common.Uint32 getBackupAdjSid6()Return backupAdjSid6, ornullif it is not present.Segment Routing Backup Adjacency Identifier for IPv6- Returns:
Uint32backupAdjSid6, ornullif it is not present.
-
requireBackupAdjSid6
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireBackupAdjSid6()Return backupAdjSid6, guaranteed to be non-null.Segment Routing Backup Adjacency Identifier for IPv6- Returns:
Uint32backupAdjSid6, guaranteed to be non-null.- Throws:
NoSuchElementException- if backupAdjSid6 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
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
-