public class DefaultPathSelection extends org.onosproject.yang.model.InnerModelObject implements PathSelection
valueLeafFlags identify the leafs whose value are explicitly set Applicable in protocol edit and query operation.
org.onosproject.yang.model.ModelObject.ModelObjectTypePathSelection.LeafIdentifier| Modifier and Type | Field and Description |
|---|---|
protected long |
costLimit |
protected short |
hopLimit |
protected boolean |
ignoreOverload |
protected Class<? extends PathMetricType> |
metricType |
protected Class<? extends PathTiebreakerType> |
tiebreakerType |
protected TopologyId |
topology |
protected TunnelPathAffinities |
tunnelPathAffinities |
protected TunnelPathSrlgs |
tunnelPathSrlgs |
protected BitSet |
valueLeafFlags |
| Constructor and Description |
|---|
DefaultPathSelection()
Creates an instance of defaultPathSelection.
|
| Modifier and Type | Method and Description |
|---|---|
long |
costLimit()
Returns the attribute costLimit.
|
void |
costLimit(long costLimit)
Sets the attribute costLimit.
|
boolean |
equals(Object obj) |
int |
hashCode() |
short |
hopLimit()
Returns the attribute hopLimit.
|
void |
hopLimit(short hopLimit)
Sets the attribute hopLimit.
|
boolean |
ignoreOverload()
Returns the attribute ignoreOverload.
|
void |
ignoreOverload(boolean ignoreOverload)
Sets the attribute ignoreOverload.
|
boolean |
isLeafValueSet(PathSelection.LeafIdentifier leaf)
Checks if the leaf value is set.
|
Class<? extends PathMetricType> |
metricType()
Returns the attribute metricType.
|
void |
metricType(Class<? extends PathMetricType> metricType)
Sets the attribute metricType.
|
Class<? extends PathTiebreakerType> |
tiebreakerType()
Returns the attribute tiebreakerType.
|
void |
tiebreakerType(Class<? extends PathTiebreakerType> tiebreakerType)
Sets the attribute tiebreakerType.
|
TopologyId |
topology()
Returns the attribute topology.
|
void |
topology(TopologyId topology)
Sets the attribute topology.
|
String |
toString() |
TunnelPathAffinities |
tunnelPathAffinities()
Returns the attribute tunnelPathAffinities.
|
void |
tunnelPathAffinities(TunnelPathAffinities tunnelPathAffinities)
Sets the attribute tunnelPathAffinities.
|
TunnelPathSrlgs |
tunnelPathSrlgs()
Returns the attribute tunnelPathSrlgs.
|
void |
tunnelPathSrlgs(TunnelPathSrlgs tunnelPathSrlgs)
Sets the attribute tunnelPathSrlgs.
|
BitSet |
valueLeafFlags()
Returns the attribute valueLeafFlags.
|
addAugmentation, augmentation, augmentations, removeAugmentationprotected TopologyId topology
protected long costLimit
protected short hopLimit
protected Class<? extends PathMetricType> metricType
protected Class<? extends PathTiebreakerType> tiebreakerType
protected boolean ignoreOverload
protected BitSet valueLeafFlags
protected TunnelPathAffinities tunnelPathAffinities
protected TunnelPathSrlgs tunnelPathSrlgs
public DefaultPathSelection()
public TopologyId topology()
PathSelectiontopology in interface PathSelectionpublic long costLimit()
PathSelectioncostLimit in interface PathSelectionpublic short hopLimit()
PathSelectionhopLimit in interface PathSelectionpublic Class<? extends PathMetricType> metricType()
PathSelectionmetricType in interface PathSelectionpublic Class<? extends PathTiebreakerType> tiebreakerType()
PathSelectiontiebreakerType in interface PathSelectionpublic boolean ignoreOverload()
PathSelectionignoreOverload in interface PathSelectionpublic BitSet valueLeafFlags()
PathSelectionvalueLeafFlags in interface PathSelectionpublic TunnelPathAffinities tunnelPathAffinities()
PathSelectiontunnelPathAffinities in interface PathSelectionpublic TunnelPathSrlgs tunnelPathSrlgs()
PathSelectiontunnelPathSrlgs in interface PathSelectionpublic void topology(TopologyId topology)
PathSelectiontopology in interface PathSelectiontopology - value of topologypublic void costLimit(long costLimit)
PathSelectioncostLimit in interface PathSelectioncostLimit - value of costLimitpublic void hopLimit(short hopLimit)
PathSelectionhopLimit in interface PathSelectionhopLimit - value of hopLimitpublic void metricType(Class<? extends PathMetricType> metricType)
PathSelectionmetricType in interface PathSelectionmetricType - value of metricTypepublic void tiebreakerType(Class<? extends PathTiebreakerType> tiebreakerType)
PathSelectiontiebreakerType in interface PathSelectiontiebreakerType - value of tiebreakerTypepublic void ignoreOverload(boolean ignoreOverload)
PathSelectionignoreOverload in interface PathSelectionignoreOverload - value of ignoreOverloadpublic void tunnelPathAffinities(TunnelPathAffinities tunnelPathAffinities)
PathSelectiontunnelPathAffinities in interface PathSelectiontunnelPathAffinities - value of tunnelPathAffinitiespublic void tunnelPathSrlgs(TunnelPathSrlgs tunnelPathSrlgs)
PathSelectiontunnelPathSrlgs in interface PathSelectiontunnelPathSrlgs - value of tunnelPathSrlgspublic boolean isLeafValueSet(PathSelection.LeafIdentifier leaf)
PathSelectionisLeafValueSet in interface PathSelectionleaf - leaf whose value status needs to checkedCopyright © 2018. All rights reserved.