public class VpnAdjRibIn extends Object
| Constructor and Description |
|---|
VpnAdjRibIn() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(org.onosproject.bgpio.protocol.BgpLSNlri nlri,
org.onosproject.bgpio.protocol.linkstate.PathAttrNlriDetails details)
Update vpn nlri identifier into the tree if nlri identifier exists in tree otherwise add this to the tree.
|
void |
addVpn(org.onosproject.bgpio.protocol.BgpLSNlri nlri,
org.onosproject.bgpio.protocol.linkstate.PathAttrNlriDetails details,
org.onosproject.bgpio.types.RouteDistinguisher routeDistinguisher)
Update nlri identifier mapped with route distinguisher if it exists in tree otherwise add nlri infomation mapped
to respective route distinguisher in 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 |
removeVpn(org.onosproject.bgpio.protocol.BgpLSNlri nlri,
org.onosproject.bgpio.types.RouteDistinguisher routeDistinguisher)
Removes vpn nlri identifier mapped to route distinguisher if it exists in tree.
|
String |
toString() |
Map<org.onosproject.bgpio.types.RouteDistinguisher,Map<org.onosproject.bgpio.protocol.linkstate.BgpLinkLSIdentifier,org.onosproject.bgpio.protocol.linkstate.PathAttrNlriDetails>> |
vpnLinkTree()
Returns the adjacency vpnLink.
|
Map<org.onosproject.bgpio.types.RouteDistinguisher,Map<org.onosproject.bgpio.protocol.linkstate.BgpNodeLSIdentifier,org.onosproject.bgpio.protocol.linkstate.PathAttrNlriDetails>> |
vpnNodeTree()
Returns the adjacency vpnNode.
|
Map<org.onosproject.bgpio.types.RouteDistinguisher,Map<org.onosproject.bgpio.protocol.linkstate.BgpPrefixLSIdentifier,org.onosproject.bgpio.protocol.linkstate.PathAttrNlriDetails>> |
vpnPrefixTree()
Returns the adjacency vpnPrefix.
|
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 Map<org.onosproject.bgpio.types.RouteDistinguisher,Map<org.onosproject.bgpio.protocol.linkstate.BgpNodeLSIdentifier,org.onosproject.bgpio.protocol.linkstate.PathAttrNlriDetails>> vpnNodeTree()
public Map<org.onosproject.bgpio.types.RouteDistinguisher,Map<org.onosproject.bgpio.protocol.linkstate.BgpLinkLSIdentifier,org.onosproject.bgpio.protocol.linkstate.PathAttrNlriDetails>> vpnLinkTree()
public Map<org.onosproject.bgpio.types.RouteDistinguisher,Map<org.onosproject.bgpio.protocol.linkstate.BgpPrefixLSIdentifier,org.onosproject.bgpio.protocol.linkstate.PathAttrNlriDetails>> vpnPrefixTree()
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 addVpn(org.onosproject.bgpio.protocol.BgpLSNlri nlri,
org.onosproject.bgpio.protocol.linkstate.PathAttrNlriDetails details,
org.onosproject.bgpio.types.RouteDistinguisher routeDistinguisher)
nlri - NLRI infodetails - has pathattribute , protocolID and identifierrouteDistinguisher - unique for for each vpnpublic void removeVpn(org.onosproject.bgpio.protocol.BgpLSNlri nlri,
org.onosproject.bgpio.types.RouteDistinguisher routeDistinguisher)
nlri - NLRI InforouteDistinguisher - unique for for each vpnCopyright © 2015. All rights reserved.