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

28 commits

Author SHA1 Message Date
Sergio Rubio
bf210b052e Merge pull request #1603 from jedipunkz/rubiojr-jedipunkz
@Rubiojr and  @jedipunkz enabled to operate routers with openstack.
2013-03-20 09:43:04 -07:00
Tomokazu Hirai
0533db7f1e @rubiojr fixed mock faulure for router(s)_tests.rb 2013-03-05 12:36:27 +09:00
Dan Prince
c3dac20b6d Merge pull request #1623 from bvox/openstack-identity-test-fixes
[openstack|identity] user model tests fixes
2013-03-04 19:09:48 -08: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
Sergio Rubio
3cbb6f2622 [openstack|identity] cleanup the test role when no longer in use 2013-03-04 16:56:36 +01:00
Sergio Rubio
2381ed38be [openstack|identity] user model tests fixes
- update_tenant expects a tenant model or a tenant_id
- update_enabled expects a boolean
2013-03-04 16:47:40 +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
Sergio Rubio
55cffa7ad0 [openstack|network] Added missing router related tests 2013-02-26 17:16:55 +01: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
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