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

17 commits

Author SHA1 Message Date
Dan Prince
2ef483c89e Merge pull request #1373 from kuinak/master
proper user creation in OS create_server mock
2013-05-13 11:37:55 -07:00
Ferran Rodenas
a70615cfe4 [openstack|compute] Allow booting a VM with NICs (net_id, port_id, fixed_ip) 2013-03-14 23:40:26 +01:00
Evan Petrie
e5447c8f2c proper user creation in OS create_server mock 2012-12-13 10:58:44 -08: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
Eric Hodel
4a0f5f4fea Store the user_id in the server mock data
OpenStack returns the user_id, not the username, in the
list_servers_detail response.  This commit looks up or creates a user
to retrieve its id so it matches real OpenStack behavior.
2012-12-06 15:17:03 -08:00
Eric Hodel
398f706e7e OpenStack create_server mocks now match reality
Previously the mocks would return the same data as list_servers_detail.
OpenStack does not return all of this data so you must reload a server
after creation to get the necessary data when using fog for real.

Now the mock returns the same detail as the real call with the extra
detail stored in the mock data for retrieval by list_servers_detail.
2012-12-06 14:30:30 -08:00
Eric Hodel
d8074357c6 Tested handling of Openstack server created and updated times 2012-10-22 17:58:40 -07:00
Mariusz Pietrzyk
7c9e7c1822 Added support for scheduler_hints in OpenStack 2012-10-01 11:54:43 +02:00
Ohad Levy
98eb4f6835 [Openstack|Compute] Security Groups are not assigned correctly to servers 2012-09-13 09:28:19 +03:00
Philip Mark M. Deazeta
5419eb79ad [openstack|compute] Added adminPass attribute in create_server 2012-07-08 19:07:41 +08:00
Philip Mark M. Deazeta
31e92bb18d [openstack|compute] Added key_pair and security_groups options int create server requrest 2012-04-30 10:35:03 +08:00
Nelvin Driz
f334670a75 [openstack|compute] Update Image Mocks
Signed-off-by: Nelvin Driz <nelvindriz@live.com>
2012-04-30 10:35:03 +08:00
Kevin Menard
dcefc2d7de Fixed #875: Loosen multi_json version. 2012-04-25 10:31:28 -04:00
Steve Smith
d89dd56fe7 Use MultiJSON #dump and #load rather than #encode and #decode
MultiJSON deprecated these methods in 1.3.0 in favour of the new ones.
This requires an update to the gemspec to ensure ~>1.3
2012-04-20 13:09:14 +01:00
Todd Willey
2735f5291f Compact the way options are mapped to request. 2011-10-13 23:14:10 -04:00
Todd Willey
7b664a9337 [OpenStack|compute] add zone awareness
Nova has a `ZoneScheduler` that can run instances on a particular set of
hardware.  This attribute hasn't been documented in the api spec, but is
effective at setting the availability_zone and letting ZoneScheduler work.
2011-10-11 17:08:34 -04:00
Dan Prince
41f09986f4 Implement fog support for the Openstack Compute API v1.1. Includes
support for legacy v1.0 style auth and v2.0 keystone auth.
2011-09-26 02:51:45 -04:00