mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
* 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>
(cherry picked from commit 1ca9c35010)
Co-authored-by: zerotens <zerotens@users.noreply.github.com>
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user