Bug 1390771

Summary: [RFE] set_nic_settings does not provide support for provisioning ipv6 interfaces in VMware VMs
Product: Red Hat CloudForms Management Engine Reporter: Jeffrey Cutter <jcutter>
Component: ProvidersAssignee: Loic Avenel <lavenel>
Status: CLOSED WONTFIX QA Contact: Mike Shriver <mshriver>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.6.0CC: dajohnso, jfrey, jhardy, mkanoor, obarenbo, tfitzger
Target Milestone: GAKeywords: FutureFeature
Target Release: cfme-future   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: vsphere:ipv6
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-01-22 12:23:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jeffrey Cutter 2016-11-01 22:10:16 UTC
Description of problem:

CloudForms/ManageIQ does not appear to allow for assigning IPv6 addresses into VMware VMs as set_nic_settings does not work with IPv6 addresses in the ip_addr field and there are no ipv6 equivalent fields defined in collect_nic_settings in models/manageiq/providers/vmware/infra_manager/provision/customization.rb.

    [:dns_domain, :dns_servers, :sysprep_netbios_mode, :wins_servers, :addr_mode,
     :gateway, :subnet_mask, :ip_addr].each { |key| nic[key] = options[key] }


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 3 Adam Grare 2016-11-03 14:09:09 UTC
There is an option in CustomizationIPSettings for an ipv6 address, ipV6Spec which is a CustomizationIPSettingsIpV6AddressSpec (have to love the names).  This was added in vSphere 4.0, defined here http://pubs.vmware.com/vsphere-60/index.jsp#com.vmware.wssdk.apiref.doc/vim.vm.customization.IPSettings.IpV6AddressSpec.html

This shouldn't be too difficult to add to the VMware code, I'll reach out if I need help adding anything further up in the provision code.

Comment 4 Adam Grare 2018-11-26 19:33:43 UTC
Assigning to PM for prioritization

Comment 5 Loic Avenel 2019-01-22 12:23:47 UTC
Will be revise when Market will move to IPv6