forked from cilium/cilium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bgpv2: expose BGP states based on config mode of the agent.
Add ConfigMode hook in BGPRouterManager, which can be used when getting various states like peers, routes, or route-policies. Adding toggle layer to fetch state from BGPv1 vs BGPv2 gobgp instances based on config mode. Signed-off-by: harsimran pabla <hpabla@isovalent.com>
- Loading branch information
1 parent
373f32e
commit 9099d8e
Showing
2 changed files
with
151 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters