Open
Description
SUMMARY
At the moment, the vmware_vmkernel module only accepts IPv4 addressing.
As the vmware_host_tcpip_stacks module supports IPv6, so should the vmware_vmkernel one.
ISSUE TYPE
- Feature Idea
COMPONENT NAME
vmware_vmkernel
ADDITIONAL INFORMATION
It would allow users to automate the addition of IPv6 addresses to vmkernel interfaces. vmware_host_tcpip_stacks already enables IPv6.
The vmware_host_tcpip_stacks module just prefixes the same variables with ipv6_ - the same could work here and look sensible, without breaking compatibility, e.g.:
- name: Add Management vmkernel port using static network type
community.vmware.vmware_vmkernel:
hostname: '{{ esxi_hostname }}'
username: '{{ esxi_username }}'
password: '{{ esxi_password }}'
esxi_hostname: '{{ esxi_hostname }}'
vswitch_name: vSwitch0
portgroup_name: PG_0001
network:
type: 'static'
ip_address: 192.168.127.10
subnet_mask: 255.255.255.0
ipv6_type: 'static'
ipv6_address: "a:b:c:d:e::f/64"
ipv6_default_gateway: "a:b:c:d:e::1"
state: present
enable_mgmt: true
HostIpConfig appears to support IPv6 addresses alongside IPv4, encapsulated inside HostIpConfigIpV6AddressConfiguration.
Metadata
Metadata
Assignees
Labels
No labels