Alfonso Juan Dillera
e99450ec1f
[openstack|compute] Add requests, models and tests for keypairs
...
- Added tests to already existing requests.
2012-04-30 10:34:58 +08:00
Alfonso Juan Dillera
b7370d640e
[openstack|compute] Add requests and tests for security groups
...
- Added tests to already existing security group requests.
2012-04-30 10:34:58 +08:00
Nelvin Driz
e1c5155a34
[openstack|identity] Update Tenants
2012-04-30 10:34:58 +08:00
Nelvin Driz
3e43a571e0
[openstack|identity] Fix Authentication Implementation
2012-04-30 10:34:58 +08:00
Nelvin Driz
7cf6031c81
[openstack|compute] Add Tenants and Fix Authentication Implementation
...
Fixed typorgraphical errors. Authentication assumes or does not require
certain parameters that is actually needed depending on the setup or
scenario. Opted to simply make it detect it if not specified to make it
easier for first time users to use.
Conflicts:
lib/fog/openstack.rb
2012-04-30 10:34:58 +08:00
Hunter Nield
330c28c5a8
[openstack|identity] Rough implementation of the Keystone API (untested)
...
Updated Openstack to handle other endpoints
2012-04-30 10:34:58 +08:00
Hunter Nield
5b5ab471e3
[openstack|compute] Updates to server model
2012-04-30 10:34:58 +08:00
Hunter Nield
19591ffd06
[openstack|compute] added security group models
2012-04-30 10:34:58 +08:00
Hunter Nield
2a552c4801
[openstack|compute] Added key pair models
2012-04-30 10:34:58 +08:00
Hunter Nield
5c0ad0143e
[openstack|compute] Added Address models
2012-04-30 10:34:58 +08:00
Hunter Nield
523414a43f
[openstack|compute] Initial extension support for security groups
2012-04-30 10:34:58 +08:00
Hunter Nield
e5ec043245
[openstack|compute] Initial extension support for key pairs
2012-04-30 10:34:58 +08:00
Hunter Nield
6a986c8f1a
[openstack|compute] Initial extension support for addresses
2012-04-30 10:34:57 +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
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