mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-27 08:21:44 -07:00
[PR #9962/a7ab7e92 backport][stable-10] Feat: Add infiniband mac address support in nmcli module (#9998)
Feat: Add infiniband mac address support in nmcli module (#9962)
* Feat: Add infiniband mac address support in nmcli module
* Add changelog fragment
* Tentative to fix the error
* Update changelogs/fragments/9962-nmcli-add-infiniband-mac-support.yml
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/nmcli.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Fix: fix test_bond_connection_unchanged module check
* Update plugins/modules/nmcli.py
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
* Update changelogs/fragments/9962-nmcli-add-infiniband-mac-support.yml
Co-authored-by: Felix Fontein <felix@fontein.de>
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
(cherry picked from commit a7ab7e9247
)
Co-authored-by: Benoît Leveugle <oxedions@gmail.com>
This commit is contained in:
parent
39f27d7d43
commit
5dd4cc5148
3 changed files with 17 additions and 2 deletions
|
@ -4485,8 +4485,10 @@ def test_bond_connection_unchanged(mocked_generic_connection_diff_check, capfd):
|
|||
macvlan=dict(type='dict'),
|
||||
wireguard=dict(type='dict'),
|
||||
vpn=dict(type='dict'),
|
||||
transport_mode=dict(type='str', choices=['datagram', 'connected']),
|
||||
sriov=dict(type='dict'),
|
||||
# infiniband specific vars
|
||||
transport_mode=dict(type='str', choices=['datagram', 'connected']),
|
||||
infiniband_mac=dict(type='str'),
|
||||
),
|
||||
mutually_exclusive=[['never_default4', 'gw4'],
|
||||
['routes4_extended', 'routes4'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue