public class DefaultConfig extends org.onosproject.yang.model.InnerModelObject implements Config
valueLeafFlags identify the leafs whose value are explicitly set Applicable in protocol edit and query operation.
org.onosproject.yang.model.ModelObject.ModelObjectTypeConfig.LeafIdentifier| Modifier and Type | Field and Description |
|---|---|
protected Bandwidth |
bandwidth |
protected long |
costLimit |
protected ExplicitRouteObjects |
explicitRouteObjects |
protected short |
holdPriority |
protected short |
hopLimit |
protected boolean |
ignoreOverload |
protected Class<? extends PathMetricType> |
metricType |
protected String |
name |
protected PathAffinities |
pathAffinities |
protected PathSrlgs |
pathSrlgs |
protected short |
setupPriority |
protected Class<? extends PathTiebreakerType> |
tiebreakerType |
protected TeTopologyId |
topologyId |
protected BitSet |
valueLeafFlags |
| Constructor and Description |
|---|
DefaultConfig()
Creates an instance of defaultConfig.
|
| Modifier and Type | Method and Description |
|---|---|
Bandwidth |
bandwidth()
Returns the attribute bandwidth.
|
void |
bandwidth(Bandwidth bandwidth)
Sets the attribute bandwidth.
|
long |
costLimit()
Returns the attribute costLimit.
|
void |
costLimit(long costLimit)
Sets the attribute costLimit.
|
boolean |
equals(Object obj) |
ExplicitRouteObjects |
explicitRouteObjects()
Returns the attribute explicitRouteObjects.
|
void |
explicitRouteObjects(ExplicitRouteObjects explicitRouteObjects)
Sets the attribute explicitRouteObjects.
|
int |
hashCode() |
short |
holdPriority()
Returns the attribute holdPriority.
|
void |
holdPriority(short holdPriority)
Sets the attribute holdPriority.
|
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(Config.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.
|
String |
name()
Returns the attribute name.
|
void |
name(String name)
Sets the attribute name.
|
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.
|
Class<? extends PathTiebreakerType> |
tiebreakerType()
Returns the attribute tiebreakerType.
|
void |
tiebreakerType(Class<? extends PathTiebreakerType> tiebreakerType)
Sets the attribute tiebreakerType.
|
TeTopologyId |
topologyId()
Returns the attribute topologyId.
|
void |
topologyId(TeTopologyId topologyId)
Sets the attribute topologyId.
|
String |
toString() |
BitSet |
valueLeafFlags()
Returns the attribute valueLeafFlags.
|
addAugmentation, augmentation, augmentations, removeAugmentationprotected String name
protected TeTopologyId topologyId
protected long costLimit
protected short hopLimit
protected Class<? extends PathMetricType> metricType
protected Class<? extends PathTiebreakerType> tiebreakerType
protected boolean ignoreOverload
protected short setupPriority
protected short holdPriority
protected BitSet valueLeafFlags
protected PathAffinities pathAffinities
protected PathSrlgs pathSrlgs
protected Bandwidth bandwidth
protected ExplicitRouteObjects explicitRouteObjects
public TeTopologyId topologyId()
ConfigtopologyId in interface Configpublic long costLimit()
Configpublic short hopLimit()
Configpublic Class<? extends PathMetricType> metricType()
ConfigmetricType in interface Configpublic Class<? extends PathTiebreakerType> tiebreakerType()
ConfigtiebreakerType in interface Configpublic boolean ignoreOverload()
ConfigignoreOverload in interface Configpublic short setupPriority()
ConfigsetupPriority in interface Configpublic short holdPriority()
ConfigholdPriority in interface Configpublic BitSet valueLeafFlags()
ConfigvalueLeafFlags in interface Configpublic PathAffinities pathAffinities()
ConfigpathAffinities in interface Configpublic PathSrlgs pathSrlgs()
Configpublic Bandwidth bandwidth()
Configpublic ExplicitRouteObjects explicitRouteObjects()
ConfigexplicitRouteObjects in interface Configpublic void name(String name)
Configpublic void topologyId(TeTopologyId topologyId)
ConfigtopologyId in interface ConfigtopologyId - value of topologyIdpublic void costLimit(long costLimit)
Configpublic void hopLimit(short hopLimit)
Configpublic void metricType(Class<? extends PathMetricType> metricType)
ConfigmetricType in interface ConfigmetricType - value of metricTypepublic void tiebreakerType(Class<? extends PathTiebreakerType> tiebreakerType)
ConfigtiebreakerType in interface ConfigtiebreakerType - value of tiebreakerTypepublic void ignoreOverload(boolean ignoreOverload)
ConfigignoreOverload in interface ConfigignoreOverload - value of ignoreOverloadpublic void setupPriority(short setupPriority)
ConfigsetupPriority in interface ConfigsetupPriority - value of setupPrioritypublic void holdPriority(short holdPriority)
ConfigholdPriority in interface ConfigholdPriority - value of holdPrioritypublic void pathAffinities(PathAffinities pathAffinities)
ConfigpathAffinities in interface ConfigpathAffinities - value of pathAffinitiespublic void pathSrlgs(PathSrlgs pathSrlgs)
Configpublic void bandwidth(Bandwidth bandwidth)
Configpublic void explicitRouteObjects(ExplicitRouteObjects explicitRouteObjects)
ConfigexplicitRouteObjects in interface ConfigexplicitRouteObjects - value of explicitRouteObjectspublic boolean isLeafValueSet(Config.LeafIdentifier leaf)
ConfigisLeafValueSet in interface Configleaf - leaf whose value status needs to checkedCopyright © 2018. All rights reserved.