mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
[PR #5974/ed8049a2 backport][stable-6] nmcli: add new addr_gen_mode6 options (#6228)
nmcli: add new addr_gen_mode6 options (#5974)
* nmcli: add new addr_gen_mode6 options
* Add changelog fragment.
* Update plugins/modules/nmcli.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Adjust documentation.
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit ed8049a220
)
Co-authored-by: Jeffrey Cutter <jeffmcutter@users.noreply.github.com>
This commit is contained in:
parent
8a670a3929
commit
25464602d9
3 changed files with 6 additions and 3 deletions
|
@ -0,0 +1,2 @@
|
||||||
|
minor_changes:
|
||||||
|
- nmcli - add ``default`` and ``default-or-eui64`` to the list of valid choices for ``addr_gen_mode6`` parameter (https://github.com/ansible-collections/community.general/pull/5974).
|
|
@ -302,8 +302,9 @@ options:
|
||||||
addr_gen_mode6:
|
addr_gen_mode6:
|
||||||
description:
|
description:
|
||||||
- Configure method for creating the address for use with IPv6 Stateless Address Autoconfiguration.
|
- Configure method for creating the address for use with IPv6 Stateless Address Autoconfiguration.
|
||||||
|
- C(default) and C(deafult-or-eui64) have been added in community.general 6.5.0.
|
||||||
type: str
|
type: str
|
||||||
choices: [eui64, stable-privacy]
|
choices: [default, default-or-eui64, eui64, stable-privacy]
|
||||||
version_added: 4.2.0
|
version_added: 4.2.0
|
||||||
mtu:
|
mtu:
|
||||||
description:
|
description:
|
||||||
|
@ -2264,7 +2265,7 @@ def main():
|
||||||
route_metric6=dict(type='int'),
|
route_metric6=dict(type='int'),
|
||||||
method6=dict(type='str', choices=['ignore', 'auto', 'dhcp', 'link-local', 'manual', 'shared', 'disabled']),
|
method6=dict(type='str', choices=['ignore', 'auto', 'dhcp', 'link-local', 'manual', 'shared', 'disabled']),
|
||||||
ip_privacy6=dict(type='str', choices=['disabled', 'prefer-public-addr', 'prefer-temp-addr', 'unknown']),
|
ip_privacy6=dict(type='str', choices=['disabled', 'prefer-public-addr', 'prefer-temp-addr', 'unknown']),
|
||||||
addr_gen_mode6=dict(type='str', choices=['eui64', 'stable-privacy']),
|
addr_gen_mode6=dict(type='str', choices=['default', 'default-or-eui64', 'eui64', 'stable-privacy']),
|
||||||
# Bond Specific vars
|
# Bond Specific vars
|
||||||
mode=dict(type='str', default='balance-rr',
|
mode=dict(type='str', default='balance-rr',
|
||||||
choices=['802.3ad', 'active-backup', 'balance-alb', 'balance-rr', 'balance-tlb', 'balance-xor', 'broadcast']),
|
choices=['802.3ad', 'active-backup', 'balance-alb', 'balance-rr', 'balance-tlb', 'balance-xor', 'broadcast']),
|
||||||
|
|
|
@ -3917,7 +3917,7 @@ def test_bond_connection_unchanged(mocked_generic_connection_diff_check, capfd):
|
||||||
route_metric6=dict(type='int'),
|
route_metric6=dict(type='int'),
|
||||||
method6=dict(type='str', choices=['ignore', 'auto', 'dhcp', 'link-local', 'manual', 'shared', 'disabled']),
|
method6=dict(type='str', choices=['ignore', 'auto', 'dhcp', 'link-local', 'manual', 'shared', 'disabled']),
|
||||||
ip_privacy6=dict(type='str', choices=['disabled', 'prefer-public-addr', 'prefer-temp-addr', 'unknown']),
|
ip_privacy6=dict(type='str', choices=['disabled', 'prefer-public-addr', 'prefer-temp-addr', 'unknown']),
|
||||||
addr_gen_mode6=dict(type='str', choices=['eui64', 'stable-privacy']),
|
addr_gen_mode6=dict(type='str', choices=['default', 'default-or-eui64', 'eui64', 'stable-privacy']),
|
||||||
# Bond Specific vars
|
# Bond Specific vars
|
||||||
mode=dict(type='str', default='balance-rr',
|
mode=dict(type='str', default='balance-rr',
|
||||||
choices=['802.3ad', 'active-backup', 'balance-alb', 'balance-rr', 'balance-tlb', 'balance-xor', 'broadcast']),
|
choices=['802.3ad', 'active-backup', 'balance-alb', 'balance-rr', 'balance-tlb', 'balance-xor', 'broadcast']),
|
||||||
|
|
Loading…
Reference in a new issue