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
Adding nftables functionality for use in EL8 #56259
Adding nftables functionality for use in EL8 #56259
Conversation
@Ch3LL requested changes addressed along with new tests that slid in. I can haz review? |
looks like just pre-commit tests that are failing that need to be fixed up. |
I think that should fix it |
@Ch3LL , it's not immediately obvious to me why lint is failing. |
@nicholasmhughes go ahead and rebase and they should no longer fail. There was a linter fail on the head of master that should be fixed by now. |
@garethgreenaway can we get your re-review here as well |
* adding nftables functionality for use in EL8 * default to current functionality * updates for black * updates for black * updates for black * Update test_nftables.py * updates for black * updates for black * updates for black * updates for black * updates for black * updates for black * fix spacing for test comment returns to match state * changed versionadded, black, and lint due to time-travelling PR * fixing test lint failure * more lint fixes Co-authored-by: Sage the Rage <36676171+sagetherage@users.noreply.github.com>
* adding nftables functionality for use in EL8 * default to current functionality * updates for black * updates for black * updates for black * Update test_nftables.py * updates for black * updates for black * updates for black * updates for black * updates for black * updates for black * fix spacing for test comment returns to match state * changed versionadded, black, and lint due to time-travelling PR * fixing test lint failure * more lint fixes Co-authored-by: Sage the Rage <36676171+sagetherage@users.noreply.github.com>
What does this PR do?
This PR is the result of attempting to manage nftables on CentOS 8 in a similar fashion to what I had been doing with iptables on previous versions.
What issues does this PR fix or reference?
N/A
Previous Behavior
There were some gaps in functionality for current versions of nftables.
New Behavior
The nftables execution and state modules are now much closer to the iptables modules and work on nftables versions tested with CentOS 8.
Tests written?
Yes
Commits signed with GPG?
Yes