-
Notifications
You must be signed in to change notification settings - Fork 249
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
source/network: ignore interface operational state #814
Conversation
Ignore the operational state of network interface when creating the network SR-IOV labels. Previously NFD only considered interfaces which were "up". Pre v0.9 we used to check the "administrative state" of interfaces (managed by the sysadmin with e.g. with ip link set dev <dev> down/up). In v0.10 we changed to checking the "operational state" of interfaces, reflecting whether the it is actually able to transfer data. Both these checks have caused confusion among users and it is more understandable and more aligned with other HW discovery functions in NFD to just drop the state check. Also, the documentation is aligned with this behavior.
Ping @ArangoGutierrez @zvonkok |
/cherry-pick release-0.11 |
@marquiz: once the present PR merges, I will cherry-pick it on top of release-0.11 in a new PR and assign it to you. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
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.
The cable is not plugged!
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ArangoGutierrez, marquiz The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@marquiz: new pull request created: #819 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Ignore the operational state of network interface when creating the
network SR-IOV labels. Previously NFD only considered interfaces which
were "up".
Pre v0.9 we used to check the "administrative state" of interfaces
(managed by the sysadmin with e.g. with ip link set dev down/up).
In v0.10 we changed to checking the "operational state" of interfaces,
reflecting whether the it is actually able to transfer data. Both these
checks have caused confusion among users and it is more understandable
and more aligned with other HW discovery functions in NFD to just drop
the state check. Also, the documentation is aligned with this behavior.
Fixes #812