mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 19:31:26 -07:00
feat(nmcli): support the fail_over_mac parameter (#9571)
* feat(nmcli): support the fail_over_mac parameter * add fail_over_mac to +bond.options * update unit tests * Update changelogs/fragments/9570-feat-nmcli-add-fail-over-mac-parameter.yml Co-authored-by: Felix Fontein <felix@fontein.de> * Update plugins/modules/nmcli.py Co-authored-by: Felix Fontein <felix@fontein.de> * change to type str and add choices according to documentation * Update plugins/modules/nmcli.py Co-authored-by: Felix Fontein <felix@fontein.de> --------- Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
7fa859a3b8
commit
d6863eaec3
3 changed files with 15 additions and 0 deletions
|
@ -4397,6 +4397,7 @@ def test_bond_connection_unchanged(mocked_generic_connection_diff_check, capfd):
|
|||
downdelay=dict(type='int'),
|
||||
updelay=dict(type='int'),
|
||||
xmit_hash_policy=dict(type='str'),
|
||||
fail_over_mac=dict(type='str', choices=['none', 'active', 'follow']),
|
||||
arp_interval=dict(type='int'),
|
||||
arp_ip_target=dict(type='str'),
|
||||
primary=dict(type='str'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue