public class DefaultState extends org.onosproject.yang.model.InnerModelObject implements State
valueLeafFlags identify the leafs whose value are explicitly set Applicable in protocol edit and query operation.
org.onosproject.yang.model.ModelObject.ModelObjectTypeState.LeafIdentifier| Modifier and Type | Field and Description |
|---|---|
protected boolean |
computeOnly |
protected boolean |
lockdown |
protected Lsps |
lsps |
protected String |
name |
protected Object |
namedExplicitPath |
protected Object |
namedPathConstraint |
protected Class<? extends PathComputationMethod> |
pathComputationMethod |
protected IpAddress |
pathComputationServer |
protected Class<? extends TePathSetupProtocol> |
pathSetupProtocol |
protected short |
preference |
protected long |
teDefaultMetric |
protected long |
teDelayMetric |
protected long |
teHopMetric |
protected TeNsrlgs |
teNsrlgs |
protected TeSrlgs |
teSrlgs |
protected boolean |
useCspf |
protected BitSet |
valueLeafFlags |
protected boolean |
verbatim |
| Constructor and Description |
|---|
DefaultState()
Creates an instance of defaultState.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
computeOnly()
Returns the attribute computeOnly.
|
void |
computeOnly(boolean computeOnly)
Sets the attribute computeOnly.
|
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isLeafValueSet(State.LeafIdentifier leaf)
Checks if the leaf value is set.
|
boolean |
lockdown()
Returns the attribute lockdown.
|
void |
lockdown(boolean lockdown)
Sets the attribute lockdown.
|
Lsps |
lsps()
Returns the attribute lsps.
|
void |
lsps(Lsps lsps)
Sets the attribute lsps.
|
String |
name()
Returns the attribute name.
|
void |
name(String name)
Sets the attribute name.
|
Object |
namedExplicitPath()
Returns the attribute namedExplicitPath.
|
void |
namedExplicitPath(Object namedExplicitPath)
Sets the attribute namedExplicitPath.
|
Object |
namedPathConstraint()
Returns the attribute namedPathConstraint.
|
void |
namedPathConstraint(Object namedPathConstraint)
Sets the attribute namedPathConstraint.
|
Class<? extends PathComputationMethod> |
pathComputationMethod()
Returns the attribute pathComputationMethod.
|
void |
pathComputationMethod(Class<? extends PathComputationMethod> pathComputationMethod)
Sets the attribute pathComputationMethod.
|
IpAddress |
pathComputationServer()
Returns the attribute pathComputationServer.
|
void |
pathComputationServer(IpAddress pathComputationServer)
Sets the attribute pathComputationServer.
|
Class<? extends TePathSetupProtocol> |
pathSetupProtocol()
Returns the attribute pathSetupProtocol.
|
void |
pathSetupProtocol(Class<? extends TePathSetupProtocol> pathSetupProtocol)
Sets the attribute pathSetupProtocol.
|
short |
preference()
Returns the attribute preference.
|
void |
preference(short preference)
Sets the attribute preference.
|
long |
teDefaultMetric()
Returns the attribute teDefaultMetric.
|
void |
teDefaultMetric(long teDefaultMetric)
Sets the attribute teDefaultMetric.
|
long |
teDelayMetric()
Returns the attribute teDelayMetric.
|
void |
teDelayMetric(long teDelayMetric)
Sets the attribute teDelayMetric.
|
long |
teHopMetric()
Returns the attribute teHopMetric.
|
void |
teHopMetric(long teHopMetric)
Sets the attribute teHopMetric.
|
TeNsrlgs |
teNsrlgs()
Returns the attribute teNsrlgs.
|
void |
teNsrlgs(TeNsrlgs teNsrlgs)
Sets the attribute teNsrlgs.
|
TeSrlgs |
teSrlgs()
Returns the attribute teSrlgs.
|
void |
teSrlgs(TeSrlgs teSrlgs)
Sets the attribute teSrlgs.
|
String |
toString() |
boolean |
useCspf()
Returns the attribute useCspf.
|
void |
useCspf(boolean useCspf)
Sets the attribute useCspf.
|
BitSet |
valueLeafFlags()
Returns the attribute valueLeafFlags.
|
boolean |
verbatim()
Returns the attribute verbatim.
|
void |
verbatim(boolean verbatim)
Sets the attribute verbatim.
|
addAugmentation, augmentation, augmentations, removeAugmentationprotected String name
protected short preference
protected Class<? extends TePathSetupProtocol> pathSetupProtocol
protected Class<? extends PathComputationMethod> pathComputationMethod
protected IpAddress pathComputationServer
protected boolean computeOnly
protected boolean useCspf
protected boolean verbatim
protected boolean lockdown
protected long teDefaultMetric
protected long teDelayMetric
protected long teHopMetric
protected Object namedExplicitPath
protected Object namedPathConstraint
protected BitSet valueLeafFlags
protected TeSrlgs teSrlgs
protected TeNsrlgs teNsrlgs
protected Lsps lsps
public short preference()
Statepreference in interface Statepublic Class<? extends TePathSetupProtocol> pathSetupProtocol()
StatepathSetupProtocol in interface Statepublic Class<? extends PathComputationMethod> pathComputationMethod()
StatepathComputationMethod in interface Statepublic IpAddress pathComputationServer()
StatepathComputationServer in interface Statepublic boolean computeOnly()
StatecomputeOnly in interface Statepublic boolean useCspf()
Statepublic boolean verbatim()
Statepublic boolean lockdown()
Statepublic long teDefaultMetric()
StateteDefaultMetric in interface Statepublic long teDelayMetric()
StateteDelayMetric in interface Statepublic long teHopMetric()
StateteHopMetric in interface Statepublic Object namedExplicitPath()
StatenamedExplicitPath in interface Statepublic Object namedPathConstraint()
StatenamedPathConstraint in interface Statepublic BitSet valueLeafFlags()
StatevalueLeafFlags in interface Statepublic TeSrlgs teSrlgs()
Statepublic TeNsrlgs teNsrlgs()
Statepublic void name(String name)
Statepublic void preference(short preference)
Statepreference in interface Statepreference - value of preferencepublic void pathSetupProtocol(Class<? extends TePathSetupProtocol> pathSetupProtocol)
StatepathSetupProtocol in interface StatepathSetupProtocol - value of pathSetupProtocolpublic void pathComputationMethod(Class<? extends PathComputationMethod> pathComputationMethod)
StatepathComputationMethod in interface StatepathComputationMethod - value of pathComputationMethodpublic void pathComputationServer(IpAddress pathComputationServer)
StatepathComputationServer in interface StatepathComputationServer - value of pathComputationServerpublic void computeOnly(boolean computeOnly)
StatecomputeOnly in interface StatecomputeOnly - value of computeOnlypublic void useCspf(boolean useCspf)
Statepublic void verbatim(boolean verbatim)
Statepublic void lockdown(boolean lockdown)
Statepublic void teDefaultMetric(long teDefaultMetric)
StateteDefaultMetric in interface StateteDefaultMetric - value of teDefaultMetricpublic void teDelayMetric(long teDelayMetric)
StateteDelayMetric in interface StateteDelayMetric - value of teDelayMetricpublic void teHopMetric(long teHopMetric)
StateteHopMetric in interface StateteHopMetric - value of teHopMetricpublic void namedExplicitPath(Object namedExplicitPath)
StatenamedExplicitPath in interface StatenamedExplicitPath - value of namedExplicitPathpublic void namedPathConstraint(Object namedPathConstraint)
StatenamedPathConstraint in interface StatenamedPathConstraint - value of namedPathConstraintpublic void teSrlgs(TeSrlgs teSrlgs)
Statepublic void teNsrlgs(TeNsrlgs teNsrlgs)
Statepublic boolean isLeafValueSet(State.LeafIdentifier leaf)
StateisLeafValueSet in interface Stateleaf - leaf whose value status needs to checkedCopyright © 2018. All rights reserved.