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
Dan Prince
50ff05dffb OS: Fix revert_resize_server method name.
Fixes an issue where calling revert_resize on the OpenStack Server
object would fail with a method name error.

----

Updates the revert_resize_server request methods to match the filename.
This also makes it match the method name we call in the
compute/server.rb module (revert_resize_server instead of
revert_resized_server).

Adds a test case which should guard against the above issue.
2013-05-03 12:14:04 -04:00
Ferran Rodenas
412a6cc3ae [openstack|compute] Add volume tests 2013-04-04 12:27:17 +02:00
Sergio Rubio
8bb3e60aea [openstack|compute] images collection should not return nil for #all
Fog::Compute[:openstack].images.all returns nil without the patch.
The patch should bring the images collection behaviour in-line with
other collections I think.

The added test should expose the issue.
2013-03-04 18:54:18 +01:00
Dan Prince
8509d5c05d OpenStack: Add missing metadatum requests.
Add missing delete_meta and update_meta calls to the OpenStack
API. Also updates the model with some tests on these new calls.
2013-02-26 14:48:36 -05:00
Dan Prince
60fefe7b80 OpenStack Compute: Fix server model metadata
Updates the OpenStack compute server model so that it stores/handles
metadata correctly on Server create again.

This was a regression from 21499d8 (and should properly handle the
concern there too).

Includes an update to the test that fails without these fixes.
2013-02-25 13:49:23 -05:00
Eric Hodel
e85428dcf0 OpenStack servers can now retrieve security groups
Added default security group to the OpenStack compute mocks.

OpenStack server creation mock now stores the security groups for the
created server.

OpenStack security group mock deletion now deletes created security
groups.

OpenStack security group mock list now accepts a server id like the real
implementation.
2012-12-08 14:03:13 -08:00