public class DefaultIsisLspBin extends Object implements org.onosproject.isis.controller.IsisLspBin
| Constructor and Description |
|---|
DefaultIsisLspBin(int binNumber)
Creates ISIS LSP bin instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addIsisLsp(String lspKey,
org.onosproject.isis.controller.LspWrapper lspWrapper)
Adds the LSP to wrapper.
|
int |
binNumber()
Returns the bin number.
|
org.onosproject.isis.controller.LspWrapper |
isisLsp(String lspKey)
Returns the LSP wrapper.
|
Map<String,org.onosproject.isis.controller.LspWrapper> |
listOfLsp()
Returns all LSP wrappers.
|
void |
removeIsisLsp(String lspKey,
org.onosproject.isis.controller.LspWrapper lspWrapper)
Removes ISIS LSP from database.
|
String |
toString() |
public DefaultIsisLspBin(int binNumber)
binNumber - bin numberpublic void addIsisLsp(String lspKey, org.onosproject.isis.controller.LspWrapper lspWrapper)
addIsisLsp in interface org.onosproject.isis.controller.IsisLspBinlspKey - key to add the LSPlspWrapper - LSP wrapper instancepublic org.onosproject.isis.controller.LspWrapper isisLsp(String lspKey)
lspKey - LSP keypublic void removeIsisLsp(String lspKey, org.onosproject.isis.controller.LspWrapper lspWrapper)
removeIsisLsp in interface org.onosproject.isis.controller.IsisLspBinlspKey - LSP keylspWrapper - LSP wrapper instancepublic Map<String,org.onosproject.isis.controller.LspWrapper> listOfLsp()
listOfLsp in interface org.onosproject.isis.controller.IsisLspBinpublic int binNumber()
Copyright © 2016. All rights reserved.