Controlling VMware ESXi from Go

865 views
Skip to first unread message

Brad Fitzpatrick

unread,
Jul 21, 2016, 8:11:59 PM7/21/16
to golang-nuts
If you have experience controlling VMware ESXi nodes from Go, could you point me at recommended packages? Or API reference?

Note: no vCenter, no vSphere management console, no Windows. Only Linux (or OS X), and only the basic level of ESXi.

I'm new to all this.

Thanks!


Tim Hawkins

unread,
Jul 21, 2016, 8:25:47 PM7/21/16
to Brad Fitzpatrick, golang-nuts

Do they have an OpenStack wrapper for ESXi?

If they do that is probaly an easier target to be looking at#

http://docs.openstack.org/kilo/config-reference/content/vmware.html

It does seem to exist for vSphere.

https://github.com/openstack/golang-client

Openstack golang client.

Upside is that your system with the proper care and attention, will work for any cloud system that has an openstack interface.



--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

James

unread,
Jul 21, 2016, 8:41:50 PM7/21/16
to Brad Fitzpatrick, golang-nuts
Take a look at govmomi -- works well with individual ESXi nodes.

S.Çağlar Onur

unread,
Jul 22, 2016, 12:11:05 AM7/22/16
to golang-nuts
Hey Brad,

[just summarizing our twitter conversation here for reference] 
 
Unfortunately free ESXi license disables the API, but an evaluation license (valid for 60 days) will enable it. We are trying to change that licensing restriction since we want vSphere Integrated Containers [1] usable on free ESXi.

You can find the Go library for the VMware vSphere API (ESXi/vCenter) at [2] or download and use the govc, a CLI built on top of govmomi, from [3] 


Best,
 
Thanks!
Reply all
Reply to author
Forward
0 new messages