mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
nmcli: allow IPv4/IPv6 configuration on ipip and sit devices (#3239)
* Allow IPv4/IPv6 configuration on mode "sit" tunnel devices * Update Unit Test for Allow IPv4/IPv6 configuration on mode "sit" tunnel devices * Add changelog for Allow IPv4/IPv6 configuration on mode "sit" tunnel devices * Update changelogs/fragments/3239-nmcli-sit-ip-config-bugfix.yaml Co-authored-by: Ajpantuso <ajpantuso@gmail.com> * Added ip4/ip6 configuration arguments for ipip tunnels Co-authored-by: Ajpantuso <ajpantuso@gmail.com>
This commit is contained in:
parent
23e7ef0255
commit
1ca9c35010
3 changed files with 16 additions and 0 deletions
|
@ -0,0 +1,2 @@
|
||||||
|
bugfixes:
|
||||||
|
- "nmcli - added ip4/ip6 configuration arguments for ``sit`` and ``ipip`` tunnels (https://github.com/ansible-collections/community.general/issues/3238, https://github.com/ansible-collections/community.general/pull/3239)."
|
|
@ -1248,6 +1248,8 @@ class Nmcli(object):
|
||||||
'ethernet',
|
'ethernet',
|
||||||
'generic',
|
'generic',
|
||||||
'infiniband',
|
'infiniband',
|
||||||
|
'ipip',
|
||||||
|
'sit',
|
||||||
'team',
|
'team',
|
||||||
'vlan',
|
'vlan',
|
||||||
'wifi'
|
'wifi'
|
||||||
|
|
|
@ -388,6 +388,12 @@ TESTCASE_IPIP_SHOW_OUTPUT = """\
|
||||||
connection.id: non_existent_nw_device
|
connection.id: non_existent_nw_device
|
||||||
connection.interface-name: ipip-existent_nw_device
|
connection.interface-name: ipip-existent_nw_device
|
||||||
connection.autoconnect: yes
|
connection.autoconnect: yes
|
||||||
|
ipv4.ignore-auto-dns: no
|
||||||
|
ipv4.ignore-auto-routes: no
|
||||||
|
ipv4.never-default: no
|
||||||
|
ipv4.may-fail: yes
|
||||||
|
ipv6.ignore-auto-dns: no
|
||||||
|
ipv6.ignore-auto-routes: no
|
||||||
ip-tunnel.mode: ipip
|
ip-tunnel.mode: ipip
|
||||||
ip-tunnel.parent: non_existent_ipip_device
|
ip-tunnel.parent: non_existent_ipip_device
|
||||||
ip-tunnel.local: 192.168.225.5
|
ip-tunnel.local: 192.168.225.5
|
||||||
|
@ -411,6 +417,12 @@ TESTCASE_SIT_SHOW_OUTPUT = """\
|
||||||
connection.id: non_existent_nw_device
|
connection.id: non_existent_nw_device
|
||||||
connection.interface-name: sit-existent_nw_device
|
connection.interface-name: sit-existent_nw_device
|
||||||
connection.autoconnect: yes
|
connection.autoconnect: yes
|
||||||
|
ipv4.ignore-auto-dns: no
|
||||||
|
ipv4.ignore-auto-routes: no
|
||||||
|
ipv4.never-default: no
|
||||||
|
ipv4.may-fail: yes
|
||||||
|
ipv6.ignore-auto-dns: no
|
||||||
|
ipv6.ignore-auto-routes: no
|
||||||
ip-tunnel.mode: sit
|
ip-tunnel.mode: sit
|
||||||
ip-tunnel.parent: non_existent_sit_device
|
ip-tunnel.parent: non_existent_sit_device
|
||||||
ip-tunnel.local: 192.168.225.5
|
ip-tunnel.local: 192.168.225.5
|
||||||
|
|
Loading…
Reference in a new issue