public interface BgpLocalRib
| Modifier and Type | Method and Description |
|---|---|
void |
add(BgpSessionInfo sessionInfo,
org.onosproject.bgpio.protocol.BgpLSNlri nlri,
org.onosproject.bgpio.protocol.linkstate.PathAttrNlriDetails details)
Add NLRI to local RIB.
|
void |
add(BgpSessionInfo sessionInfo,
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.
|
void |
delete(org.onosproject.bgpio.protocol.BgpLSNlri nlri)
Removes NLRI identifier if it exists.
|
void |
delete(org.onosproject.bgpio.protocol.BgpLSNlri nlri,
org.onosproject.bgpio.types.RouteDistinguisher routeDistinguisher)
Removes VPN NLRI identifier mapped to route distinguisher if it exists.
|
void add(BgpSessionInfo sessionInfo, org.onosproject.bgpio.protocol.BgpLSNlri nlri, org.onosproject.bgpio.protocol.linkstate.PathAttrNlriDetails details) throws org.onosproject.bgpio.exceptions.BgpParseException
sessionInfo - session infonlri - network layer reach infodetails - path attributes and NLRI informationorg.onosproject.bgpio.exceptions.BgpParseException - while adding NLRI to local ribvoid delete(org.onosproject.bgpio.protocol.BgpLSNlri nlri)
throws org.onosproject.bgpio.exceptions.BgpParseException
nlri - infoorg.onosproject.bgpio.exceptions.BgpParseException - while deleting NLRI from local ribvoid add(BgpSessionInfo sessionInfo, org.onosproject.bgpio.protocol.BgpLSNlri nlri, org.onosproject.bgpio.protocol.linkstate.PathAttrNlriDetails details, org.onosproject.bgpio.types.RouteDistinguisher routeDistinguisher) throws org.onosproject.bgpio.exceptions.BgpParseException
sessionInfo - BGP session infonlri - infodetails - has pathattribute, protocol id and identifierrouteDistinguisher - unique for each VPNorg.onosproject.bgpio.exceptions.BgpParseException - while adding NLRI updationvoid delete(org.onosproject.bgpio.protocol.BgpLSNlri nlri,
org.onosproject.bgpio.types.RouteDistinguisher routeDistinguisher)
throws org.onosproject.bgpio.exceptions.BgpParseException
nlri - inforouteDistinguisher - unique for each VPNorg.onosproject.bgpio.exceptions.BgpParseException - while deleting NLRI from local ribCopyright © 2016. All rights reserved.