public class DefaultPathConstraints extends org.onosproject.yang.model.InnerModelObject implements PathConstraints
valueLeafFlags identify the leafs whose value are explicitly set Applicable in protocol edit and query operation.
org.onosproject.yang.model.ModelObject.ModelObjectTypePathConstraints.LeafIdentifier| Modifier and Type | Field and Description |
|---|---|
protected TeBandwidth |
bandwidthGeneric |
protected short |
holdPriority |
protected boolean |
ignoreOverload |
protected List<Metric> |
metric |
protected PathAffinities |
pathAffinities |
protected PathSrlgs |
pathSrlgs |
protected short |
setupPriority |
protected BitSet |
valueLeafFlags |
| Constructor and Description |
|---|
DefaultPathConstraints()
Creates an instance of defaultPathConstraints.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToMetric(Metric addTo)
Adds to the list of metric.
|
TeBandwidth |
bandwidthGeneric()
Returns the attribute bandwidthGeneric.
|
void |
bandwidthGeneric(TeBandwidth bandwidthGeneric)
Sets the attribute bandwidthGeneric.
|
boolean |
equals(Object obj) |
int |
hashCode() |
short |
holdPriority()
Returns the attribute holdPriority.
|
void |
holdPriority(short holdPriority)
Sets the attribute holdPriority.
|
boolean |
ignoreOverload()
Returns the attribute ignoreOverload.
|
void |
ignoreOverload(boolean ignoreOverload)
Sets the attribute ignoreOverload.
|
boolean |
isLeafValueSet(PathConstraints.LeafIdentifier leaf)
Checks if the leaf value is set.
|
List<Metric> |
metric()
Returns the attribute metric.
|
void |
metric(List<Metric> metric)
Sets the attribute metric.
|
PathAffinities |
pathAffinities()
Returns the attribute pathAffinities.
|
void |
pathAffinities(PathAffinities pathAffinities)
Sets the attribute pathAffinities.
|
PathSrlgs |
pathSrlgs()
Returns the attribute pathSrlgs.
|
void |
pathSrlgs(PathSrlgs pathSrlgs)
Sets the attribute pathSrlgs.
|
short |
setupPriority()
Returns the attribute setupPriority.
|
void |
setupPriority(short setupPriority)
Sets the attribute setupPriority.
|
String |
toString() |
BitSet |
valueLeafFlags()
Returns the attribute valueLeafFlags.
|
addAugmentation, augmentation, augmentations, removeAugmentationprotected TeBandwidth bandwidthGeneric
protected short setupPriority
protected short holdPriority
protected boolean ignoreOverload
protected BitSet valueLeafFlags
protected PathAffinities pathAffinities
protected PathSrlgs pathSrlgs
public DefaultPathConstraints()
public TeBandwidth bandwidthGeneric()
PathConstraintsbandwidthGeneric in interface PathConstraintspublic short setupPriority()
PathConstraintssetupPriority in interface PathConstraintspublic short holdPriority()
PathConstraintsholdPriority in interface PathConstraintspublic boolean ignoreOverload()
PathConstraintsignoreOverload in interface PathConstraintspublic BitSet valueLeafFlags()
PathConstraintsvalueLeafFlags in interface PathConstraintspublic List<Metric> metric()
PathConstraintsmetric in interface PathConstraintspublic PathAffinities pathAffinities()
PathConstraintspathAffinities in interface PathConstraintspublic PathSrlgs pathSrlgs()
PathConstraintspathSrlgs in interface PathConstraintspublic void bandwidthGeneric(TeBandwidth bandwidthGeneric)
PathConstraintsbandwidthGeneric in interface PathConstraintsbandwidthGeneric - value of bandwidthGenericpublic void setupPriority(short setupPriority)
PathConstraintssetupPriority in interface PathConstraintssetupPriority - value of setupPrioritypublic void holdPriority(short holdPriority)
PathConstraintsholdPriority in interface PathConstraintsholdPriority - value of holdPrioritypublic void ignoreOverload(boolean ignoreOverload)
PathConstraintsignoreOverload in interface PathConstraintsignoreOverload - value of ignoreOverloadpublic void metric(List<Metric> metric)
PathConstraintsmetric in interface PathConstraintsmetric - list of metricpublic void pathAffinities(PathAffinities pathAffinities)
PathConstraintspathAffinities in interface PathConstraintspathAffinities - value of pathAffinitiespublic void pathSrlgs(PathSrlgs pathSrlgs)
PathConstraintspathSrlgs in interface PathConstraintspathSrlgs - value of pathSrlgspublic void addToMetric(Metric addTo)
PathConstraintsaddToMetric in interface PathConstraintsaddTo - value of metricpublic boolean isLeafValueSet(PathConstraints.LeafIdentifier leaf)
PathConstraintsisLeafValueSet in interface PathConstraintsleaf - leaf whose value status needs to checkedCopyright © 2018. All rights reserved.