-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
nmcli: Fix bond option xmit_hash_policy #6527
Conversation
add changelog
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.
Is a similar special case check needed for idempotency?
Co-authored-by: Felix Fontein <felix@fontein.de>
Well I'm not sure, but I checked it locally in my environment, and everything is good with idempotency. |
@felixfontein I just extended current tests, can you please check? |
Looks good to me (without knowing nmcli well). I'll merge this by the end of the weekend if nobody objects. |
Backport to stable-6: 💚 backport PR created✅ Backport PR branch: Backported as #6555 🤖 @patchback |
* nmcli_bond_xmit_fix * Create 6527-nmcli-bond-fix-xmit_hash_policy.yml add changelog * Update changelogs/fragments/6527-nmcli-bond-fix-xmit_hash_policy.yml Co-authored-by: Felix Fontein <felix@fontein.de> * unit tests extend --------- Co-authored-by: Felix Fontein <felix@fontein.de> (cherry picked from commit cb1e637)
Backport to stable-7: 💚 backport PR created✅ Backport PR branch: Backported as #6556 🤖 @patchback |
@psvmcc thanks a lot for fixing this! |
* nmcli_bond_xmit_fix * Create 6527-nmcli-bond-fix-xmit_hash_policy.yml add changelog * Update changelogs/fragments/6527-nmcli-bond-fix-xmit_hash_policy.yml Co-authored-by: Felix Fontein <felix@fontein.de> * unit tests extend --------- Co-authored-by: Felix Fontein <felix@fontein.de> (cherry picked from commit cb1e637)
…sh_policy (#6555) nmcli: Fix bond option xmit_hash_policy (#6527) * nmcli_bond_xmit_fix * Create 6527-nmcli-bond-fix-xmit_hash_policy.yml add changelog * Update changelogs/fragments/6527-nmcli-bond-fix-xmit_hash_policy.yml Co-authored-by: Felix Fontein <felix@fontein.de> * unit tests extend --------- Co-authored-by: Felix Fontein <felix@fontein.de> (cherry picked from commit cb1e637) Co-authored-by: Sergey Putko <mail@psvlan.com>
…sh_policy (#6556) nmcli: Fix bond option xmit_hash_policy (#6527) * nmcli_bond_xmit_fix * Create 6527-nmcli-bond-fix-xmit_hash_policy.yml add changelog * Update changelogs/fragments/6527-nmcli-bond-fix-xmit_hash_policy.yml Co-authored-by: Felix Fontein <felix@fontein.de> * unit tests extend --------- Co-authored-by: Felix Fontein <felix@fontein.de> (cherry picked from commit cb1e637) Co-authored-by: Sergey Putko <mail@psvlan.com>
SUMMARY
There is no alias option for configure
xmit_hash_policy
param for bond interface, we need to set it via+bond.option
key.Fixes: #5861
ISSUE TYPE
COMPONENT NAME
nmcli