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 Class<? extends StateType> |
adminStatus |
protected String |
description |
protected short |
holdPriority |
protected int |
identifier |
protected Class<? extends LspProtType> |
lspProtectionType |
protected String |
name |
protected int |
reoptimizeTimer |
protected short |
setupPriority |
protected Class<? extends TunnelType> |
type |
protected BitSet |
valueLeafFlags |
| Constructor and Description |
|---|
DefaultConfig()
Creates an instance of defaultConfig.
|
| Modifier and Type | Method and Description |
|---|---|
Class<? extends StateType> |
adminStatus()
Returns the attribute adminStatus.
|
void |
adminStatus(Class<? extends StateType> adminStatus)
Sets the attribute adminStatus.
|
String |
description()
Returns the attribute description.
|
void |
description(String description)
Sets the attribute description.
|
boolean |
equals(Object obj) |
int |
hashCode() |
short |
holdPriority()
Returns the attribute holdPriority.
|
void |
holdPriority(short holdPriority)
Sets the attribute holdPriority.
|
int |
identifier()
Returns the attribute identifier.
|
void |
identifier(int identifier)
Sets the attribute identifier.
|
boolean |
isLeafValueSet(Config.LeafIdentifier leaf)
Checks if the leaf value is set.
|
Class<? extends LspProtType> |
lspProtectionType()
Returns the attribute lspProtectionType.
|
void |
lspProtectionType(Class<? extends LspProtType> lspProtectionType)
Sets the attribute lspProtectionType.
|
String |
name()
Returns the attribute name.
|
void |
name(String name)
Sets the attribute name.
|
int |
reoptimizeTimer()
Returns the attribute reoptimizeTimer.
|
void |
reoptimizeTimer(int reoptimizeTimer)
Sets the attribute reoptimizeTimer.
|
short |
setupPriority()
Returns the attribute setupPriority.
|
void |
setupPriority(short setupPriority)
Sets the attribute setupPriority.
|
String |
toString() |
Class<? extends TunnelType> |
type()
Returns the attribute type.
|
void |
type(Class<? extends TunnelType> type)
Sets the attribute type.
|
BitSet |
valueLeafFlags()
Returns the attribute valueLeafFlags.
|
addAugmentation, augmentation, augmentations, removeAugmentationprotected String name
protected Class<? extends TunnelType> type
protected int identifier
protected String description
protected short setupPriority
protected short holdPriority
protected Class<? extends LspProtType> lspProtectionType
protected int reoptimizeTimer
protected BitSet valueLeafFlags
public Class<? extends TunnelType> type()
Configpublic int identifier()
Configidentifier in interface Configpublic String description()
Configdescription in interface Configpublic short setupPriority()
ConfigsetupPriority in interface Configpublic short holdPriority()
ConfigholdPriority in interface Configpublic Class<? extends LspProtType> lspProtectionType()
ConfiglspProtectionType in interface Configpublic Class<? extends StateType> adminStatus()
ConfigadminStatus in interface Configpublic int reoptimizeTimer()
ConfigreoptimizeTimer in interface Configpublic BitSet valueLeafFlags()
ConfigvalueLeafFlags in interface Configpublic void name(String name)
Configpublic void type(Class<? extends TunnelType> type)
Configpublic void identifier(int identifier)
Configidentifier in interface Configidentifier - value of identifierpublic void description(String description)
Configdescription in interface Configdescription - value of descriptionpublic void setupPriority(short setupPriority)
ConfigsetupPriority in interface ConfigsetupPriority - value of setupPrioritypublic void holdPriority(short holdPriority)
ConfigholdPriority in interface ConfigholdPriority - value of holdPrioritypublic void lspProtectionType(Class<? extends LspProtType> lspProtectionType)
ConfiglspProtectionType in interface ConfiglspProtectionType - value of lspProtectionTypepublic void adminStatus(Class<? extends StateType> adminStatus)
ConfigadminStatus in interface ConfigadminStatus - value of adminStatuspublic void reoptimizeTimer(int reoptimizeTimer)
ConfigreoptimizeTimer in interface ConfigreoptimizeTimer - value of reoptimizeTimerpublic boolean isLeafValueSet(Config.LeafIdentifier leaf)
ConfigisLeafValueSet in interface Configleaf - leaf whose value status needs to checkedCopyright © 2018. All rights reserved.