public class DefaultLsp extends org.onosproject.yang.model.InnerModelObject implements Lsp, org.onosproject.yang.model.MultiInstanceObject<LspKeys>
valueLeafFlags identify the leafs whose value are explicitly set Applicable in protocol edit and query operation.
org.onosproject.yang.model.ModelObject.ModelObjectTypeLsp.LeafIdentifier| Modifier and Type | Field and Description |
|---|---|
protected IpAddress |
destination |
protected IpAddress |
extendedTunnelId |
protected boolean |
lspCarryNormalTraffic |
protected int |
lspId |
protected LspProtectionRoleEnum |
lspProtectionRole |
protected LspRecordRouteSubobjects |
lspRecordRouteSubobjects |
protected LspResourceStatusEnum |
lspResourceStatus |
protected Class<? extends StateType> |
operStatus |
protected OriginTypeEnum |
originType |
protected Class<? extends TePathSetupProtocol> |
pathSetupProtocol |
protected IpAddress |
source |
protected int |
tunnelId |
protected Class<? extends TunnelType> |
type |
protected BitSet |
valueLeafFlags |
| Constructor and Description |
|---|
DefaultLsp()
Creates an instance of defaultLsp.
|
| Modifier and Type | Method and Description |
|---|---|
IpAddress |
destination()
Returns the attribute destination.
|
void |
destination(IpAddress destination)
Sets the attribute destination.
|
boolean |
equals(Object obj) |
IpAddress |
extendedTunnelId()
Returns the attribute extendedTunnelId.
|
void |
extendedTunnelId(IpAddress extendedTunnelId)
Sets the attribute extendedTunnelId.
|
int |
hashCode() |
boolean |
isLeafValueSet(Lsp.LeafIdentifier leaf)
Checks if the leaf value is set.
|
boolean |
lspCarryNormalTraffic()
Returns the attribute lspCarryNormalTraffic.
|
void |
lspCarryNormalTraffic(boolean lspCarryNormalTraffic)
Sets the attribute lspCarryNormalTraffic.
|
int |
lspId()
Returns the attribute lspId.
|
void |
lspId(int lspId)
Sets the attribute lspId.
|
LspProtectionRoleEnum |
lspProtectionRole()
Returns the attribute lspProtectionRole.
|
void |
lspProtectionRole(LspProtectionRoleEnum lspProtectionRole)
Sets the attribute lspProtectionRole.
|
LspRecordRouteSubobjects |
lspRecordRouteSubobjects()
Returns the attribute lspRecordRouteSubobjects.
|
void |
lspRecordRouteSubobjects(LspRecordRouteSubobjects lspRecordRouteSubobjects)
Sets the attribute lspRecordRouteSubobjects.
|
LspResourceStatusEnum |
lspResourceStatus()
Returns the attribute lspResourceStatus.
|
void |
lspResourceStatus(LspResourceStatusEnum lspResourceStatus)
Sets the attribute lspResourceStatus.
|
Class<? extends StateType> |
operStatus()
Returns the attribute operStatus.
|
void |
operStatus(Class<? extends StateType> operStatus)
Sets the attribute operStatus.
|
OriginTypeEnum |
originType()
Returns the attribute originType.
|
void |
originType(OriginTypeEnum originType)
Sets the attribute originType.
|
Class<? extends TePathSetupProtocol> |
pathSetupProtocol()
Returns the attribute pathSetupProtocol.
|
void |
pathSetupProtocol(Class<? extends TePathSetupProtocol> pathSetupProtocol)
Sets the attribute pathSetupProtocol.
|
IpAddress |
source()
Returns the attribute source.
|
void |
source(IpAddress source)
Sets the attribute source.
|
String |
toString() |
int |
tunnelId()
Returns the attribute tunnelId.
|
void |
tunnelId(int tunnelId)
Sets the attribute tunnelId.
|
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 IpAddress source
protected IpAddress destination
protected int tunnelId
protected int lspId
protected IpAddress extendedTunnelId
protected Class<? extends TunnelType> type
protected Class<? extends TePathSetupProtocol> pathSetupProtocol
protected OriginTypeEnum originType
protected LspResourceStatusEnum lspResourceStatus
protected LspProtectionRoleEnum lspProtectionRole
protected boolean lspCarryNormalTraffic
protected BitSet valueLeafFlags
protected LspRecordRouteSubobjects lspRecordRouteSubobjects
public IpAddress source()
Lsppublic IpAddress destination()
Lspdestination in interface Lsppublic int tunnelId()
Lsppublic int lspId()
Lsppublic IpAddress extendedTunnelId()
LspextendedTunnelId in interface Lsppublic Class<? extends TunnelType> type()
Lsppublic Class<? extends StateType> operStatus()
LspoperStatus in interface Lsppublic Class<? extends TePathSetupProtocol> pathSetupProtocol()
LsppathSetupProtocol in interface Lsppublic OriginTypeEnum originType()
LsporiginType in interface Lsppublic LspResourceStatusEnum lspResourceStatus()
LsplspResourceStatus in interface Lsppublic LspProtectionRoleEnum lspProtectionRole()
LsplspProtectionRole in interface Lsppublic boolean lspCarryNormalTraffic()
LsplspCarryNormalTraffic in interface Lsppublic BitSet valueLeafFlags()
LspvalueLeafFlags in interface Lsppublic LspRecordRouteSubobjects lspRecordRouteSubobjects()
LsplspRecordRouteSubobjects in interface Lsppublic void source(IpAddress source)
Lsppublic void destination(IpAddress destination)
Lspdestination in interface Lspdestination - value of destinationpublic void tunnelId(int tunnelId)
Lsppublic void lspId(int lspId)
Lsppublic void extendedTunnelId(IpAddress extendedTunnelId)
LspextendedTunnelId in interface LspextendedTunnelId - value of extendedTunnelIdpublic void type(Class<? extends TunnelType> type)
Lsppublic void operStatus(Class<? extends StateType> operStatus)
LspoperStatus in interface LspoperStatus - value of operStatuspublic void pathSetupProtocol(Class<? extends TePathSetupProtocol> pathSetupProtocol)
LsppathSetupProtocol in interface LsppathSetupProtocol - value of pathSetupProtocolpublic void originType(OriginTypeEnum originType)
LsporiginType in interface LsporiginType - value of originTypepublic void lspResourceStatus(LspResourceStatusEnum lspResourceStatus)
LsplspResourceStatus in interface LsplspResourceStatus - value of lspResourceStatuspublic void lspProtectionRole(LspProtectionRoleEnum lspProtectionRole)
LsplspProtectionRole in interface LsplspProtectionRole - value of lspProtectionRolepublic void lspCarryNormalTraffic(boolean lspCarryNormalTraffic)
LsplspCarryNormalTraffic in interface LsplspCarryNormalTraffic - value of lspCarryNormalTrafficpublic void lspRecordRouteSubobjects(LspRecordRouteSubobjects lspRecordRouteSubobjects)
LsplspRecordRouteSubobjects in interface LsplspRecordRouteSubobjects - value of lspRecordRouteSubobjectspublic boolean isLeafValueSet(Lsp.LeafIdentifier leaf)
LspisLeafValueSet in interface Lspleaf - leaf whose value status needs to checkedCopyright © 2018. All rights reserved.