vCloud version API 1.5 requires us to adapt certain calls. This
patch does all the necessary things to scan a vCloud 1.5 completely
and read all the necessary attributes, as we could already before.
Furthermore, it add tests for the version 1.5 calls.
The API version can now be set as a version param to the vcloud
compute resource. By default it chooses version 1.5.
This has been tested against a vCloud 1.5 and 1.0.
vCloud has also the concept of links in the responses. So we should
make use of them to navigate through the tree of resources in the
vCloud.
Furthermore, we can make various calls a bit easier by directly
returning the specific resource object than the plain xml response.
Adjust tests to work with the new changes, and also test the added
parts.
Improve the models to work with the current api version. add tests
that use fake-data, that was captured from a real vCloud.
Also removed a couple of dead code. Tests have been added for
everything that changed or have been added. All the existing but
untouched parts have not been tested.
After reading the API doc, in my opinion networks work different than
currently implemented here. To get the basic stuff working, we remove
all the code with unkwown implementation.
Changing a few bits and bytes here and there. This breaks some apis,
but allows us to get more information about the VM and addresses
also the various parts that didn't work so far.
A vcloud usually contains more than one organization which then
contains all the other computing parts (such as vdcs etc.). So far
we keep the old way, to query the first organization by default, but
also allow it to be set.