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

12 commits

Author SHA1 Message Date
Todd Willey
045c0a42ae Remove unused comment / commented code. 2012-02-12 16:41:36 -05:00
Todd Willey
564b6884af [Compute|OpenStack] match auth response to stable/diablo branch of keystone
This may require more tweaks for Essex, or when Keystone Light lands.

I also believe v1.0 auth may be broken by not sending back the
X-Server-Management-Url header.
2012-02-10 17:19:08 +00:00
Todd Willey
24e4bae57f Allow setting userdata as plain ascii or b64. 2011-10-13 23:14:34 -04:00
Todd Willey
2735f5291f Compact the way options are mapped to request. 2011-10-13 23:14:10 -04:00
Wesley Beary
3f00d86102 Merge pull request #560 from xtoddx/oszones
[OpenStack|compute] add zone awareness
2011-10-11 16:53:46 -07:00
Wesley Beary
2acb3006f5 Merge pull request #559 from xtoddx/osauth
[OpenStack|compute] fix v2.0 auth endpoints
2011-10-11 16:53:25 -07: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
Todd Willey
21499d8908 [OpenStack|compute] default metadata to empy hash
Calling metadata.each in the `save` method will make a spurious request to
the nova endpoint, unless metadata has been initialized to an empty hash.
2011-10-11 17:04:58 -04:00
Todd Willey
e3d4f3336c [OpenStack|compute] fix v2.0 auth endpoints
This fixes how paths and regexps work for less common cases (eg: having
and auth endpoint that is /v2.0/tokens.json).

Serialization to/from json and setting content-type header are added.

No longer silently converts nova api endpoints to 1.1, but errors instead.  You
should be using keystone's service catalog in conjunction with
@openstack_compute_service_name.
2011-10-11 16:59:12 -04:00
Dan Prince
d3f8245fef Additions and updates to the OpenStack API tests. 2011-09-29 14:10:21 -04:00
Dan Prince
b6707b27e3 Add create_image to server model. 2011-09-26 11:38:05 -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