Skip to content
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

Add neighbor filtering to healthcheck.py #1099

Merged

Conversation

gbe0
Copy link
Contributor

@gbe0 gbe0 commented Jun 14, 2022

In healthcheck.py, it would be useful to specify an option for a set of neighbors to announce the route to. Currently route advertisements are sent to ExaBGP like this:

announce route 192.0.2.1/32 next-hop 192.0.2.250 ...

As an option, it would be nice to be able to send announcements like this:

neighbor 192.0.2.200 announce route 192.0.2.1/32 next-hop 192.0.2.250 ...
neighbor 192.0.2.200, neighbor 192.0.2.201 announce route 192.0.2.2/32 next-hop 192.0.2.251 ...

This patch adds the --neighbor option to do exactly this.

neighbors rather than all neighbors defined in configuration.
@thomas-mangin thomas-mangin merged commit f58f28a into Exa-Networks:master Jun 14, 2022
@thomas-mangin
Copy link
Member

LGTM (again), thank you (again) 😉

thomas-mangin added a commit that referenced this pull request Jun 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants