Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question : how to configure IP allocation ? #24

Open
carguel opened this issue Apr 23, 2018 · 2 comments
Open

Question : how to configure IP allocation ? #24

carguel opened this issue Apr 23, 2018 · 2 comments
Labels
Type: Enhancement Adds new functionality.

Comments

@carguel
Copy link

carguel commented Apr 23, 2018

The knife vcenter driver supports following option in order to setup a DHCP address allocation:

--cips dhcp

Is it possible to manage same behavior for VMs created by kitchen-vcenter ?

@jjasghar
Copy link
Contributor

The knife-vsphere gem supports that but not knife-vcenter unless i'm missing something.

The underlying gem for knife-vsphere that @swalberg has been doing amazing work with, is different then the REST calls that knife-vcenter use. It would require research and some development time.

@carguel
Copy link
Author

carguel commented Apr 23, 2018

@jjasghar You are right, I made an error in my first comment: cips option is supported in vsphere driver for knife, not vcenter driver.

As kitchen-vcenter leverages https://github.com/vmware/vsphere-automation-sdk-ruby/, I wonder if it is possible to support same kind of allocation ?

I quickly made a search on vmware/vsphere-automation-sdk-ruby code, and I found some references that seem linked with this allocation.

You can have a look to class IpAllocationPolicy in client/sdk/com/vmware/vcenter/ovf.rb.

I don't know if it is the proper option, nor how it could be integrated in kitchen-vcenter. Any idea ?

@tas50 tas50 added Type: Enhancement Adds new functionality. and removed enhancement labels Jul 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Adds new functionality.
Projects
None yet
Development

No branches or pull requests

3 participants