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 long |
adjustInterval |
protected Percentage |
adjustThreshold |
protected boolean |
enabled |
protected BandwidthKbps |
maxBw |
protected BandwidthKbps |
minBw |
protected BitSet |
valueLeafFlags |
| Constructor and Description |
|---|
DefaultConfig()
Creates an instance of defaultConfig.
|
| Modifier and Type | Method and Description |
|---|---|
long |
adjustInterval()
Returns the attribute adjustInterval.
|
void |
adjustInterval(long adjustInterval)
Sets the attribute adjustInterval.
|
Percentage |
adjustThreshold()
Returns the attribute adjustThreshold.
|
void |
adjustThreshold(Percentage adjustThreshold)
Sets the attribute adjustThreshold.
|
boolean |
enabled()
Returns the attribute enabled.
|
void |
enabled(boolean enabled)
Sets the attribute enabled.
|
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isLeafValueSet(Config.LeafIdentifier leaf)
Checks if the leaf value is set.
|
BandwidthKbps |
maxBw()
Returns the attribute maxBw.
|
void |
maxBw(BandwidthKbps maxBw)
Sets the attribute maxBw.
|
BandwidthKbps |
minBw()
Returns the attribute minBw.
|
void |
minBw(BandwidthKbps minBw)
Sets the attribute minBw.
|
String |
toString() |
BitSet |
valueLeafFlags()
Returns the attribute valueLeafFlags.
|
addAugmentation, augmentation, augmentations, removeAugmentationprotected boolean enabled
protected BandwidthKbps minBw
protected BandwidthKbps maxBw
protected long adjustInterval
protected Percentage adjustThreshold
protected BitSet valueLeafFlags
public boolean enabled()
Configpublic BandwidthKbps minBw()
Configpublic BandwidthKbps maxBw()
Configpublic long adjustInterval()
ConfigadjustInterval in interface Configpublic Percentage adjustThreshold()
ConfigadjustThreshold in interface Configpublic BitSet valueLeafFlags()
ConfigvalueLeafFlags in interface Configpublic void enabled(boolean enabled)
Configpublic void minBw(BandwidthKbps minBw)
Configpublic void maxBw(BandwidthKbps maxBw)
Configpublic void adjustInterval(long adjustInterval)
ConfigadjustInterval in interface ConfigadjustInterval - value of adjustIntervalpublic void adjustThreshold(Percentage adjustThreshold)
ConfigadjustThreshold in interface ConfigadjustThreshold - value of adjustThresholdpublic boolean isLeafValueSet(Config.LeafIdentifier leaf)
ConfigisLeafValueSet in interface Configleaf - leaf whose value status needs to checkedCopyright © 2018. All rights reserved.