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

Can I use instant clone functionality with govmomi/govc? #1392

Closed
ghaabor opened this issue Feb 21, 2019 · 6 comments · Fixed by #1558
Closed

Can I use instant clone functionality with govmomi/govc? #1392

ghaabor opened this issue Feb 21, 2019 · 6 comments · Fixed by #1558

Comments

@ghaabor
Copy link

ghaabor commented Feb 21, 2019

Hey,

I'd tried to figure out if the govmomi library is capable of doing instant clones and I've came to the conclusion that it's not possible at the moment - but I'm not 100% sure this is the right answer. If it's not available yet then this is kind of a feature request as well. :)

@ghaabor ghaabor changed the title Can I use instant clone instead of linked clones? Can I use instant clone functionality with govmomi/govc? Feb 21, 2019
@dougm
Copy link
Member

dougm commented Feb 21, 2019

It is possible with govmomi, all the 6.7 generated API types are there: https://godoc.org/github.com/vmware/govmomi/vim25/methods#InstantClone_Task

But there isn't any higher level govmomi wrapper or govc command yet, so we can consider this a feature request :) If you can find some good instant clone docs, examples in another language, etc., adding pointers in this issue would be a great start.

@ghaabor
Copy link
Author

ghaabor commented Feb 22, 2019

Thanks for the answer! Once I'll have some time I'll do in some investigation and put here any resources which could be useful. :)

@lamw
Copy link

lamw commented Mar 3, 2019

@dougm Check out https://www.virtuallyghetto.com/2018/04/new-instant-clone-architecture-in-vsphere-6-7-part-2.html for code samples exercising the new Instant Clone API in 6.7

@dmmarkham
Copy link

I was also coming here to make this feature request as this is possible in pyvmomi. So consider this a very enthusiastic +1 on the feature!

@vfiftyfive
Copy link

+1

1 similar comment
@slarimore02
Copy link

+1

brian57860 added a commit to brian57860/govmomi that referenced this issue Aug 13, 2019
brian57860 added a commit to brian57860/govmomi that referenced this issue Aug 28, 2019
BEPhipps pushed a commit to brian57860/govmomi that referenced this issue Jul 28, 2020
BEPhipps pushed a commit to brian57860/govmomi that referenced this issue Jul 29, 2020
BEPhipps pushed a commit to brian57860/govmomi that referenced this issue Jul 29, 2020
brian57860 added a commit to brian57860/govmomi that referenced this issue Jul 29, 2020
brian57860 added a commit to brian57860/govmomi that referenced this issue Aug 5, 2020
@dougm dougm added this to the 0.24 milestone Dec 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants