-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BGP: Introduce new cli to get bgp peering state #1500
Conversation
Example 1 Per node output :
|
Example 2 Output from 4 BGP nodes
|
749622d
to
57b3c8c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very clean implementation, LGTM. Perhaps we want a test that would flag changes to the summary format.
@asauber Added test case to verify the format of summary output. Had to pull testify/require in vendor directory - so some more files are changed. Please take a look at latest commit for changes. |
fe6d156
to
91ea4e8
Compare
91ea4e8
to
b89cdf3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the test. Looks great
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code changes LGTM.
Could you please also update CODEOWNERS
to assign bgp/
to @cilium/sig-bgp as follows?
diff --git a/CODEOWNERS b/CODEOWNERS
index d9bb8f5f2155..1ad7dcb11d5f 100644
--- a/CODEOWNERS
+++ b/CODEOWNERS
@@ -22,6 +22,7 @@
/.github/kind-config*.yaml @cilium/ci-structure
/.github/tools/ @cilium/ci-structure
/.github/workflows/ @cilium/github-sec @cilium/ci-structure
+/bpf/ @cilium/sig-bgp
/cmd/ @cilium/cli
/clustermesh/ @cilium/sig-clustermesh
/connectivity/ @cilium/cli
This change introduces new BGP status CLI : 'cilium bgp peers'. Status of BGP peers is returned from all or specific node in json or summary formats. Signed-off-by: harsimran pabla <[email protected]>
b89cdf3
to
b8064a5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This change introduces new BGP status CLI :
cilium bgp peers
. Status of BGP peers is returned from all or specific node in json or summary formats.Signed-off-by: harsimran pabla [email protected]