VMware {code} Community
amitsp
Contributor
Contributor

vCloud API in private datacenter

I am trying to build a private datacenter in my own lab with vSphrere4. I would like to use vCloud API on the top of vSphere instance. Any idea how can I install/implement vCloud API within the datacenter and how to make use of that?

Tags (2)
Reply
0 Kudos
3 Replies
admin
Immortal
Immortal

As mentioned in another thread, vSphere does not implement the vCloud API. The vCloud API is implemented by another software layer on top of vSphere -- vCloud Express or another implementation -- which are not yet publicly available for purchase.

If you wanted to implement it yourself you would have to create a Web application in your language/framework of choice that operates as specified in the API guide and then invokes the vSphere SDK.

Reply
0 Kudos
Steve_Jin
Expert
Expert

Just as kmsmith pointed out, you have to implement a REST web app which bridges the REST call to vSphere SDK call. Beyond the bridging, you need to take care of resource federation if you have multiple vCenter to manager. I know one of our partner is doing something you want using Jython + Django web framework. The jython layer uses the VI Java API to talk to vSphere.

Now, how to make use of that? I think it's a question more for you than for VMware. In general, vSphere SDK is powerful yet not so easy to use as an "under the hook" API. vCloud APIs is supposed to be "driver seat" API which exposes only virtual resources like vApp.

If you aren't sure about the usage and don't have scalability requirement, you may just start with vSphere SDK.

Steve JIN

Author of VMware VI and vSphere SDK (Prentice Hall)

Creator of open source vSphere (VI) Java API

Blog: DoubleCloud.ORG

Twitter: @sjin2008

Steve JIN Author of VMware VI and vSphere SDK; Creator of open source VI Java API (http://vijava.sf.net); Blogger at http://www.doublecloud.org
Reply
0 Kudos
secura
Contributor
Contributor

Hi Steve ,

I am currently doing the same way to implement a WebApp which calls vSphere SDK resource objects and then expose them as REST Style objects .

I was able to complete it for one of the use-cases . But looks a bit complicated. Anyways you mentioned Jython + Django web

framework stack which are doing the same. Are these commercial? Any open-source projects which are targetting this type of implementation?

Thanks

Secura

Reply
0 Kudos