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

38 commits

Author SHA1 Message Date
Decklin Foster
80c531a17c [ibm|compute] Add request test for list_vlans and fix mock 2012-03-25 23:49:48 -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
256337db77 [ibm] avoid using constants (Rails loads files multiple times, issue #807) 2012-03-22 08:49:20 -04:00
Decklin Foster
79b3636298 [ibm] Return pending if provisioning times out in the real tests 2012-03-21 07:58:35 -04:00
Decklin Foster
d257bcae45 [ibm] Mark volume attach/detach pending, won't create instance 2012-03-21 07:58:35 -04:00
Decklin Foster
e1d6cbfa79 [ibm] Wait for volume to be ready before deleting 2012-03-21 07:58:35 -04:00
Decklin Foster
599166e86b [ibm] Fix volume formats and mocks 2012-03-21 07:58:32 -04:00
Decklin Foster
cb47ec8fc6 [ibm] Don't calculate expiration time until ready to make the request 2012-03-20 23:55:09 -04:00
Decklin Foster
dc0e4e5ab8 [ibm] Invalid instance creation will return a 412 and thus raise PreconditionFailed 2012-03-20 23:55:09 -04:00
Decklin Foster
220cb9ac05 [ibm] Generated key needs different name, supplied key only returns success 2012-03-20 23:55:09 -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
1b900b68b2 [ibm] Don't set server to nil 2012-03-20 23:54:41 -04:00
Decklin Foster
f822d67dc7 [ibm] Expiration time should be epoch in ms 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
518bb3c7a0 [ibm] Wait for instance to be ready before deleting it or creating image 2012-03-20 23:40:19 -04:00
Decklin Foster
e558945dfb [ibm] Description is mandatory 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
21f5de7179 [ibm] vlan is part of primaryIP 2012-03-20 23:40:19 -04:00
Decklin Foster
c323e3fca7 [ibm] Change public key format 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
721862ce68 [ibm] servers.length will include already existing servers 2012-03-20 23:40:18 -04:00
Decklin Foster
952f5f0362 [ibm] Can't access Fog::Compute::IBM::Location class from here, just check if ID returned 2012-03-20 23:40:18 -04:00
Decklin Foster
41a964c577 [ibm] Nullable formats for attributes that may not be returned 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
3790e67940 [ibm] Don't reboot or immediately expire, interferes with other tests 2012-03-20 23:40:18 -04:00
Decklin Foster
c84f80b171 [ibm] Rename data -> body 2012-03-20 23:40:18 -04:00
Decklin Foster
f21ea265fe [ibm] Correct spelling of test volume format ('RAW') and fix parameter typo 2012-03-20 23:40:17 -04:00
Decklin Foster
8ad3a2679c [ibm] servers are not sorted, don't assume we can just take the last 2012-03-20 23:40:17 -04:00
Decklin Foster
2b05ec7e4b [ibm] Create temporary keys in tests that need to create instances 2012-03-20 23:40:17 -04:00
Decklin Foster
5620ac760f [ibm] Make names used in tests unique using current time 2012-03-20 23:40:16 -04:00
Decklin Foster
424dca5186 [ibm] Setting default key returns success, not key name 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
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
Decklin Foster
1b44269e00 [ibm] Remove trailing whitespace 2012-03-20 23:37:47 -04:00
Decklin Foster
eb8ff11cc9 [ibm] Rename model test files into compute, storage dirs 2012-03-20 23:37:47 -04:00
Carl Hicks
019e536312 [ibm] Added Mocking and Tests 2012-03-20 23:37:46 -04:00