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

20 commits

Author SHA1 Message Date
Sergio Rubio
12923ffc4d [openstack|network] create_network provider extensions
Implements provider extensions when creating networks.

See:

http://docs.openstack.org/trunk/openstack-network/admin/content/provider_attributes.html

Complements #1581 (Added missing Network model attributes)
2013-02-26 14:51:28 +01:00
Sergio Rubio
8a47ca26c4 [openstack|network] Added missing Network model attributes
The following patch adds the following missing attributes:

+---------------------------+--------------------------------------+
| Field                     | Value                                |
+---------------------------+--------------------------------------+
| provider:network_type     | gre                                  |
| provider:physical_network |                                      |
| provider:segmentation_id  | 1                                    |
| router:external           | False                                |
+---------------------------+--------------------------------------+

Not sure if the code style I've used for the attributes is OK though,
I did it so I don't break the 80 col. barrier.

Added also a small test for the new and existing attributes.
2013-02-21 12:32:43 +01:00
Sergio Rubio
74ce4467eb [openstack|storage] Added OpenStack Storage service tests
Mostly copy&paste from the Rackspace Storage service
2013-01-23 20:55:15 +01:00
kanetann
a7df32a8cd deleted old files eg. floatingip.rb 2012-12-25 10:42:22 +09:00
kanetann
9ebd161e03 updated for ruby naming conventions. 2012-12-22 14:26:43 +09:00
kanetann
8329f16f8d added floatingip 2012-12-14 18:35:37 +09:00
Coby Randquist
7f69c47b94 add failing test and update Mock list_users to filter based on tenant_id 2012-12-10 18:12:28 -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
97d50bbeae Added OpenStack EC2 credential management models
Altered the paths for EC2 credential requests to remove an extra / in
the request URIs.

Altered Fog::Open::Identity::Real#request to retry only once when given
a 401 error response code.  The EC2 API returns 401 when attempting to
fetch nonexistent EC2 credentials instead of something sensible like
404, leading to an infinite loop.  Also, the "Bad username or password"
check was removed.  My version of OpenStack does not return this message
when a token is expired, but returns the same message as for a missing
EC2 credential.
2012-12-05 14:27:10 -08:00
Nelvin Driz
cae2af0806 Merge pull request #1164 from frodenas/openstack-quantum
[openstack|network] Add support for OpenStack Quantum
2012-10-04 19:54:17 -07:00
Nelvin Driz
0035231954 [openstack] Fix Failing Shindo Tests
Signed-off-by: Nelvin Driz <nelvindriz@live.com>
2012-10-02 14:09:02 +08:00
Ferran Rodenas
0c34ca84f5 [openstack|network] Add support for OpenStack Quantum
Added support for OpenStack Network Connectivity (Quantum).
2012-09-22 00:14:40 +02:00
Alvin Garcia
040cd20021 [openstack|identity] Update users collections and model 2012-04-30 10:35:01 +08:00
Philip Mark Deazeta
be19ce2073 [openstack|image] Image Model Updates
-added dynamic finders
-added queries for public and private images
-added function to show image metadata
2012-04-30 10:35:00 +08:00
Nelvin Driz
4d33ccb7a7 [openstack|compute] General Cleanup and Update
- Focus on adding additional vm actions support
- New request types are not fully tested
2012-04-30 10:34:59 +08:00
Philip Mark Deazeta
8e5ac8d9ed [openstack|image] Added test for models and request 2012-04-30 10:34:59 +08:00
Alvin Garcia
b122f0c85e [openstack|identity] Keystone Roles and Users 2012-04-30 10:34:59 +08:00
Alvin Garcia
c623858312 [openstack|identity] Keystone Roles 2012-04-30 10:34:59 +08:00
Nelvin Driz
42d2cb94ec [openstack|identity] Update Tenants (Complete CRUD) 2012-04-30 10:34:59 +08:00
Nelvin Driz
e1c5155a34 [openstack|identity] Update Tenants 2012-04-30 10:34:58 +08:00