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

28 commits

Author SHA1 Message Date
Paul Thornthwaite
40c0cd7122 Make use of #persisted? method
In many places we were checking for identity which was the shorthand for
checking if the resource had been saved by the service.

The #persisted? method was added to show a clearer intent and also offer
minimal ActiveModel interface
2012-12-23 02:45:05 +00:00
Decklin Foster
48789a33b6 [ibm|compute] Typo in parameter name, should be storageID 2012-05-14 14:36:16 -04:00
Joe Kinsella
2ade6c329e Adding Vlan class to IBM SmartCloud 2012-03-24 22:20:53 -04:00
Decklin Foster
c60420318f [ibm] Make usage of #state rather than #status consistent 2012-03-22 17:26:34 -04:00
Decklin Foster
399ea807c6 [ibm|compute] Add clone/destroy methods and tests to Image 2012-03-22 13:21:48 -04:00
Decklin Foster
db0772ad88 [ibm|storage] Restore storage_area, platform_version, clone_status Volume attributes 2012-03-22 13:08:08 -04:00
Decklin Foster
256337db77 [ibm] avoid using constants (Rails loads files multiple times, issue #807) 2012-03-22 08:49:20 -04:00
Decklin Foster
92f39c8ea9 [ibm] Set a longer timeout on all wait_for calls 2012-03-20 23:55:09 -04:00
Decklin Foster
fa9c06d714 [ibm] launched_at convenience method 2012-03-20 23:40:20 -04:00
Decklin Foster
62886a41c0 [ibm] Add state/ready? methods for Address 2012-03-20 23:40:19 -04:00
Decklin Foster
e4241047b8 [ibm] Rename root_only -> is_mini_ephemeral 2012-03-20 23:40:19 -04:00
Decklin Foster
a5eeb10a2c [ibm] Add state and ready? method to Image 2012-03-20 23:40:19 -04:00
Decklin Foster
73d97e2e6c [ibm] Return nil if instance_id is nil 2012-03-20 23:40:18 -04:00
Decklin Foster
6928dbfd65 [ibm] Set expire a few seconds in the future since it takes a while to process 2012-03-20 23:40:18 -04:00
Decklin Foster
7725d07e31 [ibm] Use Raleigh location for tests 2012-03-20 23:40:18 -04:00
Decklin Foster
ab49331330 [ibm] Change default location and image ID 2012-03-20 23:40:17 -04:00
Decklin Foster
4b4a50e0cf [ibm] Return nil for public_hostname if primary_ip unset (e.g. state is Failed) 2012-03-20 23:40:16 -04:00
Decklin Foster
3c3c6d5b2e [ibm] Add vlan_id attrib so that it can be used in creating an instance 2012-03-20 23:40:16 -04:00
Decklin Foster
432475cded [ibm] Restarting should return success, changing expiration should only return time 2012-03-20 23:40:16 -04:00
Decklin Foster
23f3bcaf2e [ibm] Fix key model for passing public_key, add setting/testing whether key is default 2012-03-20 23:40:15 -04:00
Decklin Foster
aad19e2ca4 [ibm] Typos in state names and status vs. state 2012-03-20 23:40:15 -04:00
Carl Hicks
cf8cf65f5a [ibm] Update model for Volume 2012-03-20 23:40:15 -04:00
Carl Hicks
632eae53b2 [ibm] Moar convenience methods for servers 2012-03-20 23:37:47 -04:00
Decklin Foster
01acfc6c0c [ibm] Add a InstanceType model, returned as part of Images 2012-03-20 23:37:47 -04:00
Decklin Foster
402d42ced7 [ibm] Pass optional params to requests with hashes 2012-03-20 23:37:46 -04:00
Decklin Foster
63ac66362c [ibm] Rename collection requests get->list so we have get_foo and list_foos 2012-03-20 23:37:45 -04:00
Decklin Foster
a9fa42d461 [ibm] Add Location model and requests 2012-03-20 23:37:45 -04:00
Decklin Foster
65e572805e [ibm] Initial IBM SmartCloud support 2012-03-20 23:37:45 -04:00