Hi Tomaz, Matt, I don’t think vCloud has a SOAP interface. Certainly the examples I’ve been working with from libcloud use a RESTful API. I’ve been adding some simple changes and to enable it to support vCloud 5.5 so I’d be interested to find out if there are ways it could be made to conform better with the libcloud conventions.
Cheers, Phil On 5 Jul 2014, at 16:24, Tomaz Muraus <[email protected]> wrote: > In Libcloud we usually try to avoid 3rd party library dependencies because > it makes supporting multiple Python versions and some other things hard. > > Because of that, we don't use soaplib or a similar library for talking to > the SOAP APIs. > > For talking to the SOAP APIs, we manually generate XML for the requests > using elementtree library. > > IIRC, vCloud exposes a SOAP API, so you can find some examples at > https://github.com/apache/libcloud/blob/trunk/libcloud/compute/drivers/vcloud.py > > Keep in mind that vCloud driver doesn't really follow all the Libcloud code > conventions, etc. so it might not be the best / nicest example, but you can > at least get the idea of how to use elementtree. > > For a good overal example, you should look at the CloudSigma API v2.0 > driver - > https://github.com/apache/libcloud/blob/trunk/libcloud/compute/drivers/cloudsigma.py#L968 > > > On Thu, Jul 3, 2014 at 10:26 PM, Matt Baldwin <[email protected]> > wrote: > >> Currently, I'm working on a compute driver for a provider with only a SOAP >> API. What is the recommended approach to handle SOAP within libcloud? Any >> examples I can look at? >> >> Thanks. >> -matt >> -- Scanned by iCritical.
