public class AdjRibIn extends Object
| Constructor and Description |
|---|
AdjRibIn() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(org.onosproject.bgpio.protocol.BgpLSNlri nlri,
org.onosproject.bgpio.protocol.linkstate.PathAttrNlriDetails details)
Update nlri identifier into the tree if nlri identifier exists in tree otherwise add this to the tree.
|
Map<org.onosproject.bgpio.protocol.linkstate.BgpLinkLSIdentifier,org.onosproject.bgpio.protocol.linkstate.PathAttrNlriDetails> |
linkTree()
Returns the adjacency link.
|
Map<org.onosproject.bgpio.protocol.linkstate.BgpNodeLSIdentifier,org.onosproject.bgpio.protocol.linkstate.PathAttrNlriDetails> |
nodeTree()
Returns the adjacency node.
|
Map<org.onosproject.bgpio.protocol.linkstate.BgpPrefixLSIdentifier,org.onosproject.bgpio.protocol.linkstate.PathAttrNlriDetails> |
prefixTree()
Returns the adjacency prefix.
|
void |
remove(org.onosproject.bgpio.protocol.BgpLSNlri nlri)
Removes nlri identifier if it exists in the adjacency tree.
|
String |
toString() |
public Map<org.onosproject.bgpio.protocol.linkstate.BgpNodeLSIdentifier,org.onosproject.bgpio.protocol.linkstate.PathAttrNlriDetails> nodeTree()
public Map<org.onosproject.bgpio.protocol.linkstate.BgpLinkLSIdentifier,org.onosproject.bgpio.protocol.linkstate.PathAttrNlriDetails> linkTree()
public Map<org.onosproject.bgpio.protocol.linkstate.BgpPrefixLSIdentifier,org.onosproject.bgpio.protocol.linkstate.PathAttrNlriDetails> prefixTree()
public void add(org.onosproject.bgpio.protocol.BgpLSNlri nlri,
org.onosproject.bgpio.protocol.linkstate.PathAttrNlriDetails details)
nlri - NLRI Infodetails - has pathattribute , protocolID and identifierpublic void remove(org.onosproject.bgpio.protocol.BgpLSNlri nlri)
nlri - NLRI InfoCopyright © 2016. All rights reserved.