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

33 commits

Author SHA1 Message Date
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
5711e7a4d4 [ibm] create_image should do a PUT, not a POST, and needs 'state' param 2012-03-20 23:40:17 -04:00
Decklin Foster
6be770e046 [ibm] Rename ibm_user_id -> ibm_username 2012-03-20 23:40:17 -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
b05b92634f [ibm] Delete instance mock should return success 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
81344bd96a [ibm] Flesh out modify_instance and modify_key for different modes 2012-03-20 23:40:16 -04:00
Decklin Foster
fa5777c833 [ibm] Typo, assignment instead of equality, made some tests incorrectly pass 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
08b5104a4a [ibm] Added request tests for addresses 2012-03-20 23:40:15 -04:00
Carl Hicks
cf8cf65f5a [ibm] Update model for Volume 2012-03-20 23:40:15 -04:00
Decklin Foster
70cab59f5f [ibm] Raise NotFound in mock instead of returning a 404 2012-03-20 23:40:15 -04:00
Decklin Foster
c62156f906 [ibm] Add some missing mocks, fix list_instances 2012-03-20 23:40:14 -04:00
Decklin Foster
5e679a641e [ibm] Update mocks to reflect moving volume models from from compute to storage 2012-03-20 23:40:14 -04:00
Decklin Foster
02fc7a2232 [ibm] Update tests to match model arguments (attribs hash) and lower-level request methods 2012-03-20 23:40:14 -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
Wyatt Walter
18f92a3254 [ibm] adding documentation 2012-03-20 23:37:46 -04:00
Carl Hicks
019e536312 [ibm] Added Mocking and Tests 2012-03-20 23:37:46 -04:00
Decklin Foster
402d42ced7 [ibm] Pass optional params to requests with hashes 2012-03-20 23:37:46 -04:00
Decklin Foster
010e86081d [ibm] Don't need json_body, so we can simplify requests; remove unused params 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