-
Notifications
You must be signed in to change notification settings - Fork 8
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 suport for CIS hardened and SercureBoot systems #16
Conversation
This commit moves away from debugfs when detecting and disabling the i40e NICs handling of LLDP. debugfs is not available on CIS-hardened and SecureBoot systems. This change used ethtool in its place
This changes the i40e NIC detection from using the kern.log to /sys/class/net
We've tested this patch on a CIS-hardened and SecureBoot system |
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.
While I appreciate that this charm doesn't have any meaningful unit tests, it would be nice to see unit tests added as part of this PR - specifically for the code that was touched.
Adding unittest
@wolsen Hello, Could you please review this PR once more and my PR as well? basic unit tests for this repo isn't working well. so I believe it should be removed. Thanks in advance! |
No description provided.