public interface Metric extends org.opendaylight.yangtools.yang.binding.ChildOf<MetricObject>, org.opendaylight.yangtools.yang.binding.Augmentable<Metric>, Object
This class represents the following YANG schema fragment defined in module pcep-types
container metric {
leaf processing-rule {
type processing-rule;
}
leaf ignore {
type ignore;
}
leaf metric-type {
type uint8;
}
leaf bound {
type bound;
}
leaf computed {
type computed;
}
leaf value {
type float32;
}
uses object;
}
The schema path to identify an instance is
pcep-types/metric-object/metric
To create instances of this class use MetricBuilder.
MetricBuilder| Modifier and Type | Field and Description |
|---|---|
static org.opendaylight.yangtools.yang.common.QName |
QNAME |
| Modifier and Type | Method and Description |
|---|---|
Short |
getMetricType() |
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ieee754.rev130819.Float32 |
getValue() |
Boolean |
isBound() |
Boolean |
isComputed() |
getAugmentationisIgnore, isProcessingRuleShort getMetricType()
java.lang.Short metricType, or null if not presentBoolean isBound()
java.lang.Boolean bound, or null if not presentBoolean isComputed()
java.lang.Boolean computed, or null if not presentorg.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ieee754.rev130819.Float32 getValue()
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ieee754.rev130819.Float32 value, or null if not presentCopyright © 2018 OpenDaylight. All rights reserved.