public interface BgpLocalRib
| Modifier and Type | Method and Description |
|---|---|
void |
add(BgpSessionInfo sessionInfo,
BgpLSNlri nlri,
PathAttrNlriDetails details)
Add NLRI to local RIB.
|
void |
add(BgpSessionInfo sessionInfo,
BgpLSNlri nlri,
PathAttrNlriDetails details,
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(BgpLSNlri nlri)
Removes NLRI identifier if it exists.
|
void |
delete(BgpLSNlri nlri,
RouteDistinguisher routeDistinguisher)
Removes VPN NLRI identifier mapped to route distinguisher if it exists.
|
void add(BgpSessionInfo sessionInfo, BgpLSNlri nlri, PathAttrNlriDetails details) throws BgpParseException
sessionInfo - session infonlri - network layer reach infodetails - path attributes and NLRI informationBgpParseException - while adding NLRI to local ribvoid delete(BgpLSNlri nlri) throws BgpParseException
nlri - infoBgpParseException - while deleting NLRI from local ribvoid add(BgpSessionInfo sessionInfo, BgpLSNlri nlri, PathAttrNlriDetails details, RouteDistinguisher routeDistinguisher) throws BgpParseException
sessionInfo - BGP session infonlri - infodetails - has pathattribute, protocol id and identifierrouteDistinguisher - unique for each VPNBgpParseException - while adding NLRI updationvoid delete(BgpLSNlri nlri, RouteDistinguisher routeDistinguisher) throws BgpParseException
nlri - inforouteDistinguisher - unique for each VPNBgpParseException - while deleting NLRI from local rib