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

healthcheck: add support interface numbering #1215

Merged
merged 1 commit into from
Jun 24, 2024

Conversation

clwluvw
Copy link
Contributor

@clwluvw clwluvw commented Jun 23, 2024

So far loopback ips was looking for the corresponding interface by checking whether the label starts with the desired input. By providing --use-interface-numbering it checks whether the label exactly matches the desired input.

Fixes: #1199

@clwluvw clwluvw force-pushed the interface-numbering branch from 4b0a244 to 87a6eb0 Compare June 23, 2024 22:13
@thomas-mangin
Copy link
Member

Please let me know when you are happy that the code is fine and I will review for merge.

@thomas-mangin thomas-mangin self-assigned this Jun 23, 2024
@clwluvw
Copy link
Contributor Author

clwluvw commented Jun 24, 2024

@thomas-mangin I guess that should be it. Happy to take your review.

@vincentbernat
Copy link
Member

The name of the option is odd, isn't it? This could be --label-exact-match instead.

@clwluvw clwluvw force-pushed the interface-numbering branch from 87a6eb0 to e42530c Compare June 24, 2024 08:22
So far loopback ips was looking for the corresponding interface by
checking whether the label starts with the desired input.
By providing --label-exact-match it checks whether the label
exactly matches the desired input.

Signed-off-by: Seena Fallah <seenafallah@gmail.com>
@clwluvw clwluvw force-pushed the interface-numbering branch from e42530c to 001873c Compare June 24, 2024 08:24
@clwluvw clwluvw requested a review from vincentbernat June 24, 2024 08:26
@thomas-mangin
Copy link
Member

@vincentbernat LGTM

@thomas-mangin
Copy link
Member

@vincentbernat thank you for your time and the review !

@thomas-mangin thomas-mangin merged commit 9bcad4b into Exa-Networks:main Jun 24, 2024
16 checks passed
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.

healthcheck: Loopback IP Parsing
3 participants