-
Notifications
You must be signed in to change notification settings - Fork 37
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
[cli] update borderagent discover
to allow network interface selection for mDNS binding
#259
Conversation
…ce selection for mDNS binding. Within the OTBR practice application, the BR host will have several interfaces. When users want to discover the border agent using mDNS, they'll need to choose the specific interface the border agent is bound to. This change introduces a new option for the CLI command `borderagent dicover`. Users can now specify a network interface using the syntax `borderagent discovery <timeout> <network interface>`. The chosen interface will be used for mDNS binding through socket options.
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.
See also my comments in #260
…ce selection for mDNS binding. Within the OTBR practice application, the BR host will have several interfaces. When users want to discover the border agent using mDNS, they'll need to choose the specific interface the border agent is bound to. This change introduces a new option for the CLI command `borderagent dicover`. Users can now specify a network interface using the syntax `borderagent discovery <timeout> <network interface>`. The chosen interface will be used for mDNS binding through socket options.
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, thanks! 👍
Just a few nits.
Co-authored-by: Kangping <[email protected]>
Co-authored-by: Kangping <[email protected]>
Co-authored-by: Kangping <[email protected]>
Co-authored-by: Kangping <[email protected]>
Co-authored-by: Kangping <[email protected]>
Co-authored-by: Kangping <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #259 +/- ##
==========================================
- Coverage 72.98% 72.91% -0.07%
==========================================
Files 72 72
Lines 7477 7496 +19
==========================================
+ Hits 5457 5466 +9
- Misses 2020 2030 +10
|
Co-authored-by: Kangping <[email protected]>
Co-authored-by: Kangping <[email protected]>
Co-authored-by: Kangping <[email protected]>
Co-authored-by: Kangping <[email protected]>
Co-authored-by: Kangping <[email protected]>
borderagent discover
to allow network interface selection for mDNS binding
Within the OTBR practice application, the BR host will have several interfaces. When users want to discover the border agent using mDNS, they'll need to choose the specific interface the border agent is bound to.
This change introduces a new option for the CLI command
borderagent dicover
. Users can now specify a network interface using the syntaxborderagent discover <timeout> <network interface>
. The chosen interface will be used for mDNS binding through socket options.