public class DefaultLspWrapper extends Object implements org.onosproject.isis.controller.LspWrapper
| Constructor and Description |
|---|
DefaultLspWrapper() |
| Modifier and Type | Method and Description |
|---|---|
int |
ageCounterRollOverWhenAdded()
Returns age counter roll over.
|
int |
ageCounterWhenReceived()
Returns age counter when received.
|
int |
binNumber()
Returns bin number.
|
int |
currentAge()
Returns the current LSP Age.
|
org.onosproject.isis.controller.IsisInterface |
isisInterface()
Returns ISIS interface instance.
|
boolean |
isSelfOriginated()
Returns true if self originated.
|
org.onosproject.isis.controller.IsisLsdbAge |
lsdbAge()
Returns ISIS LSDB age.
|
int |
lspAgeReceived()
Returns LSP age received.
|
org.onosproject.isis.io.isispacket.pdu.LsPdu |
lsPdu()
Returns LSPDU which the wrapper contains.
|
String |
lspProcessing()
Returns "refreshLsp" or "maxageLsp" based on LSP to process.
|
org.onosproject.isis.controller.IsisPduType |
lspType()
Returns ISIS PDU type.
|
int |
remainingLifetime()
Returns remaining time.
|
void |
setAgeCounterRollOverWhenAdded(int ageCounterRollOverWhenAdded)
Sets age counter roll over when added.
|
void |
setAgeCounterWhenReceived(int ageCounterWhenReceived)
Sets age counter when received.
|
void |
setBinNumber(int binNumber)
Sets bin number.
|
void |
setIsisInterface(org.onosproject.isis.controller.IsisInterface isisInterface)
Sets ISIS interface.
|
void |
setLsdbAge(org.onosproject.isis.controller.IsisLsdbAge lsdbAge)
Sets LSDB age.
|
void |
setLspAgeReceived(int lspAgeReceived)
Sets LSP age received.
|
void |
setLsPdu(org.onosproject.isis.io.isispacket.pdu.LsPdu lsPdu)
Sets LSPDU which the wrapper contains.
|
void |
setLspProcessing(String lspProcessing)
Sets LSP processing "refreshLsp" or "maxageLsp" based on LSP to process.
|
void |
setLspType(org.onosproject.isis.controller.IsisPduType lspType)
Sets ISIS PDU type.
|
void |
setRemainingLifetime(int remainingLifetime)
Sets remaining life time.
|
void |
setSelfOriginated(boolean selfOriginated)
Sets true if self originated.
|
public String lspProcessing()
lspProcessing in interface org.onosproject.isis.controller.LspWrapperpublic void setLspProcessing(String lspProcessing)
setLspProcessing in interface org.onosproject.isis.controller.LspWrapperlspProcessing - "refreshLsp" or "maxageLsp" based on LSP to processpublic int lspAgeReceived()
lspAgeReceived in interface org.onosproject.isis.controller.LspWrapperpublic void setLspAgeReceived(int lspAgeReceived)
lspAgeReceived - LSP age received.public org.onosproject.isis.controller.IsisInterface isisInterface()
isisInterface in interface org.onosproject.isis.controller.LspWrapperpublic void setIsisInterface(org.onosproject.isis.controller.IsisInterface isisInterface)
isisInterface - ISIS interface instancepublic int ageCounterWhenReceived()
ageCounterWhenReceived in interface org.onosproject.isis.controller.LspWrapperpublic void setAgeCounterWhenReceived(int ageCounterWhenReceived)
ageCounterWhenReceived - age counter when receivedpublic int ageCounterRollOverWhenAdded()
ageCounterRollOverWhenAdded in interface org.onosproject.isis.controller.LspWrapperpublic void setAgeCounterRollOverWhenAdded(int ageCounterRollOverWhenAdded)
ageCounterRollOverWhenAdded - age counter roll over when addedpublic int binNumber()
binNumber in interface org.onosproject.isis.controller.LspWrapperpublic void setBinNumber(int binNumber)
setBinNumber in interface org.onosproject.isis.controller.LspWrapperbinNumber - bin numberpublic boolean isSelfOriginated()
isSelfOriginated in interface org.onosproject.isis.controller.LspWrapperpublic void setSelfOriginated(boolean selfOriginated)
setSelfOriginated in interface org.onosproject.isis.controller.LspWrapperselfOriginated - true if self originated else falsepublic org.onosproject.isis.controller.IsisPduType lspType()
lspType in interface org.onosproject.isis.controller.LspWrapperpublic void setLspType(org.onosproject.isis.controller.IsisPduType lspType)
lspType - ISIS PDU typepublic org.onosproject.isis.io.isispacket.pdu.LsPdu lsPdu()
lsPdu in interface org.onosproject.isis.controller.LspWrapperpublic void setLsPdu(org.onosproject.isis.io.isispacket.pdu.LsPdu lsPdu)
lsPdu - LSPDU which the wrapper containspublic org.onosproject.isis.controller.IsisLsdbAge lsdbAge()
public void setLsdbAge(org.onosproject.isis.controller.IsisLsdbAge lsdbAge)
lsdbAge - LSDB agepublic int currentAge()
currentAge in interface org.onosproject.isis.controller.LspWrapperpublic int remainingLifetime()
remainingLifetime in interface org.onosproject.isis.controller.LspWrapperpublic void setRemainingLifetime(int remainingLifetime)
setRemainingLifetime in interface org.onosproject.isis.controller.LspWrapperremainingLifetime - LSPs remaining life timeCopyright © 2016. All rights reserved.