Interface PathConstraints
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
ConstrainedPath
,Constraints
public interface PathConstraints extends org.opendaylight.yangtools.yang.binding.DataObject
Set of Constraints for Path ComputationThis class represents the following YANG schema fragment defined in module path-computation
grouping path-constraints { leaf metric { type uint32; } leaf te-metric { type uint32; } leaf delay { type gr:delay; } leaf jitter { type gr:delay; } leaf loss { type gr:loss; } leaf admin-group { type uint32; } leaf address-family { type enumeration { enum ipv4 { value 0; } enum ipv6 { value 1; } enum sr-ipv4 { value 2; } enum sr-ipv6 { value 3; } } default ipv4; } leaf class-type { type uint8 { range 0..7; } } leaf bandwidth { type gr:decimal-bandwidth; } }
The schema path to identify an instance is path-computation/path-constraints
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
PathConstraints.AddressFamily
-
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 Modifier and Type Method Description @Nullable PathConstraints.AddressFamily
getAddressFamily()
Address family of the computed path@Nullable org.opendaylight.yangtools.yang.common.Uint32
getAdminGroup()
Admin group to select edges@Nullable DecimalBandwidth
getBandwidth()
Requested bandwidth for the computed path@Nullable org.opendaylight.yangtools.yang.common.Uint8
getClassType()
Class Type for bandwidth constraints@Nullable Delay
getDelay()
Maximum end to end delay@Nullable Delay
getJitter()
Maximum delay variation for selected edges@Nullable Loss
getLoss()
Maximum loss for selected edges@Nullable org.opendaylight.yangtools.yang.common.Uint32
getMetric()
Maximum end to end IGP metric@Nullable org.opendaylight.yangtools.yang.common.Uint32
getTeMetric()
Maximum end to end Traffic Engineering metricClass<? extends PathConstraints>
implementedInterface()
-
-
-
Method Detail
-
implementedInterface
Class<? extends PathConstraints> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getMetric
@Nullable org.opendaylight.yangtools.yang.common.Uint32 getMetric()
Maximum end to end IGP metric- Returns:
org.opendaylight.yangtools.yang.common.Uint32
metric
, ornull
if not present
-
getTeMetric
@Nullable org.opendaylight.yangtools.yang.common.Uint32 getTeMetric()
Maximum end to end Traffic Engineering metric- Returns:
org.opendaylight.yangtools.yang.common.Uint32
teMetric
, ornull
if not present
-
getDelay
@Nullable Delay getDelay()
Maximum end to end delay- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.graph.rev191125.Delay
delay
, ornull
if not present
-
getJitter
@Nullable Delay getJitter()
Maximum delay variation for selected edges- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.graph.rev191125.Delay
jitter
, ornull
if not present
-
getLoss
@Nullable Loss getLoss()
Maximum loss for selected edges- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.graph.rev191125.Loss
loss
, ornull
if not present
-
getAdminGroup
@Nullable org.opendaylight.yangtools.yang.common.Uint32 getAdminGroup()
Admin group to select edges- Returns:
org.opendaylight.yangtools.yang.common.Uint32
adminGroup
, ornull
if not present
-
getAddressFamily
@Nullable PathConstraints.AddressFamily getAddressFamily()
Address family of the computed path- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.path.computation.rev200120.PathConstraints.AddressFamily
addressFamily
, ornull
if not present
-
getClassType
@Nullable org.opendaylight.yangtools.yang.common.Uint8 getClassType()
Class Type for bandwidth constraints- Returns:
org.opendaylight.yangtools.yang.common.Uint8
classType
, ornull
if not present
-
getBandwidth
@Nullable DecimalBandwidth getBandwidth()
Requested bandwidth for the computed path- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.graph.rev191125.DecimalBandwidth
bandwidth
, ornull
if not present
-
-