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

29 commits

Author SHA1 Message Date
Paul Thornthwaite
e959078e89 [vcloud|compute] Updates reference to service 2013-01-07 21:01:23 +00:00
Paul Thornthwaite
b0698648dc [vcloud] Replaces #new_record? with #persisted? 2012-12-19 15:00:26 +00:00
Chirag Jog
abd3b0b0b1 1.Fix Catalog Listing for vCD 1.5
2.Construct Valid XML to memory configuration
3.Fix Undeploy vCD 1.5
2012-08-05 21:00:45 +05:30
Chirag Jog
8554a08ea4 1.Ability to fetch/list Orgs, Vdcs, Vapps, Servers.
2.Support to customize CPUs and Password
2012-08-05 21:00:11 +05:30
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
d4a1fa3a1e [vcloud|compute] introduce link on a network to parent network
Get the parent network object or nil if no parent network is defined.
2011-11-29 11:37:18 +01:00
Peter Meier
734c94f9f9 [vcloud|compute] improve network
* Add tests for multiple networks
* Add ProviderInfo field
* Add tests for configuration details
2011-11-29 11:37:18 +01:00
Peter Meier
9b7339156b [vcloud|compute] improve disk info access
Some infos were missing and other couldn't be looked up that way.
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
3499179991 [vcloud|compute] a vapp might not have any childrens attached 2011-11-29 11:37:18 +01:00
Peter Meier
9f8c804d20 [vcloud|compute] fix network to the minimum
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.
2011-11-29 11:37:18 +01:00
Peter Meier
4bb95335cf [vcloud|compute] More work on getting server in a useable shape.
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.
2011-11-29 11:37:18 +01:00
Peter Meier
f2c90dcc7f [vcloud|compute] introduce vapps 2011-11-29 11:37:17 +01:00
Peter Meier
3024678e2a [vcloud|compute] a vdc does not have a tasklist 2011-11-29 11:37:17 +01:00
Peter Meier
f87750634c [vcloud|compute] add catalogs to an organization 2011-11-29 11:37:17 +01:00
Peter Meier
5d3699569c [vcloud|compute] remove server from organizations as they are within vApps of vDC 2011-11-29 11:37:17 +01:00
Peter Meier
1c727dd689 [vcloud|compute] make networks working also in organizations 2011-11-29 11:37:17 +01:00
Peter Meier
8743df0bd4 [vcloud|compute] introduce organizations
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.
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
geemus
b6af64d76a initial work toward flattening Vcloud::Terremark::Ecloud namespace 2011-02-16 16:13:09 -08:00
geemus
4076bbaec5 fixes for vcloud to match up with new stuff 2010-09-14 10:40:02 -07:00
geemus
fd755e042b clean up by changing service abstraction into a class 2010-09-03 15:04:54 -07:00
freeformz
30446e5ac1 Servicify & Hashify & more requests
Many changes:

-Become more of a proper Fog Service.
-Drop most of the Collection/Model customizations.
-Add a hook for services to do something after #new with the instance
-Move to the ToHashDocument parser ... so no more having to actually
make parsers.
-Fog::Vcloud::Extension is kind of like Fog::Service, but for writing
extension modules to Fog::Vcloud.
-Fix up existing specs/mocks (they're not complete atm, but the existing
ones are up to date).
-Fog::Vcloud::Terremark::Ecloud gets almost all extensions implemented
(almost).
-Fog::Vcloud::Terremark::Ecloud bumped to working with the current TMRK
API release.
-Factor out some TMRK/ecloud specifc mock data into the ecloud module.
-Probably forgetting something.
2010-06-28 02:10:27 +08:00
Edward Muller
8252085fdf Vdc/Vdcs models for Vcloud w/testing 2010-05-28 02:31:08 +08:00
geemus
b554eb0bb4 Revert "move vcloud models to its directory since the format is common to both"
Conflicts with work freeformz is doing, reverting in favor of those changes for now.

This reverts commit 9907d4ed59.
2010-05-17 20:57:13 -07:00
David Calavera
ec9c43cc9e vcloud tasks can optionaly contain a link for cancel it and an error element 2010-05-17 10:49:17 +08:00
David Calavera
9907d4ed59 move vcloud models to its directory since the format is common to both 2010-05-17 10:49:09 +08:00