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
Paul Thornthwaite
b5ff3eaeb1 [Brightbox] Clean up Cloud IP mapping code
When passing an object that responds to `identity` which is all of our
resources, we can pass the resource's identifier in to the API call to
make it easier to use without maintaining a list of classes.

Server's need to use the interface for the destination so they override
a new `mapping_identity` method which is picked up first.

Anything else (such as a String identifier) is passed directly to the
API request as before.
2013-11-27 15:53:03 +00:00
Paul Thornthwaite
aa66911a4b [Brightbox] Adds #dns_name to server
Little known fact is that the public version of the domain name of a
Brightbox cloud server is the `fqdn` prefixed with public.

This is now fixed here until it is fixed in the main API and the value
can be referenced directly from the response.
2012-12-24 03:57:28 +00:00
geemus
ed153088d0 [compute] consolidate testing 2011-01-03 13:34:08 -08:00
Paul Thornthwaite
df9d093df7 [brightbox] DRY up the Image used for testing 2010-12-03 14:24:23 +00:00
Paul Thornthwaite
2468c43df8 [brightbox] Added Server request tests 2010-12-03 14:24:14 +00:00
geemus
26c1e239d5 [brightbox] moving specs to tests 2010-11-16 13:24:43 -08:00