-
Notifications
You must be signed in to change notification settings - Fork 247
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
#4235 - added pin/unpin netsh commands for maps and programs #4254
Conversation
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 comments. Also I wonder if using existing verbs like add pin [type=](program|map) ...
and delete pin [id=]<id>
might be better than creating new verbs? The former I think is more common even though the latter is permitted.
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.
https://github.com/microsoft/ebpf-for-windows/blob/main/CONTRIBUTING.md says:
Tests need to be provided for every bug/feature that is completed.
Please update tests\end_to_end\netsh_test.cpp with tests for these commands.
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.
Ok other than some comment nits
Co-authored-by: Dave Thaler <[email protected]>
Co-authored-by: Dave Thaler <[email protected]>
Co-authored-by: Dave Thaler <[email protected]>
I don't have the power to merge... |
Description
Added new commands to netsh:
pin map <id> [pinpath]
unpin map <id> [pinpath]
pin program <id> [pinpath]
unpin program <id> [pinpath]
#4235