1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
Commit graph

6 commits

Author SHA1 Message Date
Peter Meier
30e28d704f [vcloud|compute] add API version 1.5 compability
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.
2012-01-30 19:04:19 +01:00
Peter Meier
3e240474ac [vcloud|compute] improve models + additional tests
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.
2012-01-30 18:57:13 +01:00
Peter Meier
6a627c3532 [vcloud|compute] fix an issue if this is not parsed as an array 2011-11-29 11:37:18 +01:00
Peter Meier
750fb59f25 [vcloud|compute] improve models add tests
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.
2011-11-29 11:37:18 +01:00
Peter Meier
1c727dd689 [vcloud|compute] make networks working also in organizations 2011-11-29 11:37:17 +01:00
geemus
d6f9fb4c35 [compute|vcloud] move vcloud compute to its own shared area (namespacing should probably be corrected) 2011-08-24 20:12:00 -05:00
Renamed from lib/fog/compute/models/vcloud/networks.rb (Browse further)