diff --git a/changelogs/fragments/5361-nmcli-add-infiniband-transport-mode.yaml b/changelogs/fragments/5361-nmcli-add-infiniband-transport-mode.yaml new file mode 100644 index 00000000000..370d1246632 --- /dev/null +++ b/changelogs/fragments/5361-nmcli-add-infiniband-transport-mode.yaml @@ -0,0 +1,2 @@ +minor_changes: + - "nmcli - add ``transport_mode`` configuration for Infiniband devices (https://github.com/ansible-collections/community.general/pull/5361)." diff --git a/plugins/modules/net_tools/nmcli.py b/plugins/modules/net_tools/nmcli.py index 13adc8bbd24..49565b91224 100644 --- a/plugins/modules/net_tools/nmcli.py +++ b/plugins/modules/net_tools/nmcli.py @@ -67,6 +67,12 @@ type: str choices: [ 802.3ad, active-backup, balance-alb, balance-rr, balance-tlb, balance-xor, broadcast ] default: balance-rr + transport_mode: + description: + - This option sets the connection type of Infiniband IPoIB devices. + type: str + choices: [ datagram, connected ] + version_added: 5.8.0 master: description: - Master