mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-03-26 21:33:12 +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)."
|
||||
@@ -811,6 +811,8 @@ class Nmcli(object):
|
||||
'ethernet',
|
||||
'generic',
|
||||
'infiniband',
|
||||
'ipip',
|
||||
'sit',
|
||||
'team',
|
||||
'vlan',
|
||||
)
|
||||
|
||||
@@ -340,6 +340,12 @@ TESTCASE_IPIP_SHOW_OUTPUT = """\
|
||||
connection.id: non_existent_nw_device
|
||||
connection.interface-name: ipip-existent_nw_device
|
||||
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.parent: non_existent_ipip_device
|
||||
ip-tunnel.local: 192.168.225.5
|
||||
@@ -363,6 +369,12 @@ TESTCASE_SIT_SHOW_OUTPUT = """\
|
||||
connection.id: non_existent_nw_device
|
||||
connection.interface-name: sit-existent_nw_device
|
||||
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.parent: non_existent_sit_device
|
||||
ip-tunnel.local: 192.168.225.5
|
||||
|
||||
Reference in New Issue
Block a user