mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02: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:
parent
276fb08503
commit
760b1e2cad
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)."
|
|
@ -811,6 +811,8 @@ class Nmcli(object):
|
||||||
'ethernet',
|
'ethernet',
|
||||||
'generic',
|
'generic',
|
||||||
'infiniband',
|
'infiniband',
|
||||||
|
'ipip',
|
||||||
|
'sit',
|
||||||
'team',
|
'team',
|
||||||
'vlan',
|
'vlan',
|
||||||
)
|
)
|
||||||
|
|
|
@ -340,6 +340,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
|
||||||
|
@ -363,6 +369,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