Vmware VCloud director api interaction with Ansible

1,141 views
Skip to first unread message

Luca Cancelliere

unread,
Jan 23, 2014, 4:38:34 AM1/23/14
to ansible...@googlegroups.com
Vcloud director is a Vmware orchestrator for cloud used by many cloud service provider. It expose an api rest interface to interact with it, should be be nice to integrated it with ansible for a complete orchestration. 

Starting from this point I was looking to interact with it by the ansible uri module, but looking around I've found this great tool made in python by vmware team:

http://labs.vmware.com/flings/vcloud-director-rest-api-shell-ras, the problem is that tool work with python tk library in a gui/shell mode, so it's difficult to pass variable to it. 

I'm not a python developer, so for me it's quite difficult to convert it as an ansible module taking out the gui part of the code. Is there something working on it (or something similar)?


Azul Inho

unread,
Feb 6, 2014, 8:40:08 AM2/6/14
to ansible...@googlegroups.com

I have just started looking at ansible (like a hour ago) for this project I am working on.
So not sure how some of the code I have is applicable to a playbook.
Anyway, there a couple of libraries out there that manage vcloud, apache libcloud (python) which I have used in the past, vcloud-rest which is quite good in my view.

I used vcloud-rest to automate deployment of new VAPPs into a well-known vcloud org, have a look, it may help a bit
https://github.com/dvla/vcloud-management-tools

azul
Reply all
Reply to author
Forward
0 new messages