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

4605 commits

Author SHA1 Message Date
Paul Thornthwaite
00ebbd3c88 Reduce maintenance of tests by using a dynamic list of providers
Added registered_providers which returns the providers Fog knows about
Remove the providers for local VMs (not lacking credentials but installs)
2012-08-15 17:31:58 +01:00
Paul Thornthwaite
6ee6aaad9a Tagged AWS URL test so correctly ignored by Shindo 2012-08-15 17:31:58 +01:00
Paul Thornthwaite
b8049a9805 Retagged tests with strings to be skipped by Shindo 2012-08-15 17:31:58 +01:00
Paul Thornthwaite
2b54ebda25 Use string not symbols for Storage tests to work with Shindo tagging 2012-08-15 17:31:57 +01:00
Paul Thornthwaite
9272ac88ed Add missing providers to the all_providers list for testing
This allows their tags to be removed from the Shindo tests if unavailable
2012-08-15 17:31:57 +01:00
Aaron Suggs
3992e818b7 [aws|rds] Mock support for setting AZ and MultiAZ
Mocking preserves the AvailabilityZone and MultiAZ parameters if set.
2012-08-15 11:50:56 -04:00
Paul Thornthwaite
cb1357252a [brightbox|compute] Merged outstanding work from Brightbox's fork 2012-08-15 11:58:32 +01:00
Wesley Beary
57c1587c26 Merge pull request from ericchernuka/public_url_repl_slash
Add gsub to replace URL-encoded characters in the public_url method
2012-08-14 11:59:24 -07:00
Wesley Beary
af45446787 Merge pull request from brightbox/hash_syntax
Rewrite tests to use 1.8 compatible Hash syntax
2012-08-14 11:55:44 -07:00
Paul Thornthwaite
7c7c392a84 Rewrite tests to use 1.8 compatible Hash syntax 2012-08-14 10:45:16 +01:00
Eric Chernuka
fae88b9777 Add gsub to replace URL-encoded characters in the public_url method 2012-08-13 15:13:29 -06:00
Dan Peterson
dfe13342a9 [dynect|dns] Job polling should use original expected statuses. 2012-08-13 11:14:40 -03:00
Nelvin Driz
1b69f403f3 Merge pull request from bvox/openstack_regions
Add support for multiple regions in OpenStack
2012-08-13 03:55:48 -07:00
Wesley Beary
22b6a11218 Merge pull request from chirag-jog/master
Update the terremark driver to work with the latest vcloud express 0.8-ext1.6
2012-08-12 10:51:02 -07:00
Wesley Beary
becfdad58b Merge pull request from rb2k/patch-1
Move Dynect endpoint from api2 to api-v4
2012-08-12 10:49:33 -07:00
Brad Gignac
effc2f0566 Merge pull request from bradgignac/fix-1.8.7-rackspace-versioning
[rackspace|compute] Don't intern nil strings.
2012-08-10 14:13:31 -07:00
Brad Gignac
1619462fea [rackspace|compute] Don't intern nil strings. 2012-08-10 17:12:54 -04:00
bdorry
354ac075d8 Merge pull request from kliuchnikau/cloudstack_register_template
Cloudstack: added registerTemplate request
2012-08-10 07:18:48 -07:00
Marc Seeger
57c6ce80cc Move Dynect endpoint from api2 to api-v4
I've had the problem before that Dynects api2 will fail when being called from a system that has both, IPv6 and IPv4 connectivity.
The message returned looks something like this:

```
@body="{\"status\": \"failure\", \"data\": {}, \"job_id\": 1234567890, \"msgs\": [{\"INFO\": \"login: IP address does not match current session\", \"SOURCE\": \"BLL\", \"ERR_CD\": \"INVALID_DATA\", \"LVL\": \"ERROR\"}, {\"INFO\": \"login: There was a problem with your credentials\", \"SOURCE\": \"BLL\", \"ERR_CD\": null, \"LVL\": \"INFO\"}]}", @status=400>
```

For our own (custom) library this was fixed by just moving from the 'api2.dynect.net' endpoint to 'api-v4.dynect.net'. We didn't change anything else and it just worked for us.
I just tried this locally and switching the endpoint solved the problem in fog for me.
2012-08-10 12:51:29 +03:00
geemus
258e65a7d1 [aws|compute] fixes for spot request waiting
see also 
2012-08-09 14:44:37 -07:00
Wesley Beary
f6d485fca4 Merge pull request from chirag-jog/vcd15
Extending Support for vCloud Director 1.5
2012-08-09 11:19:43 -07:00
Wesley Beary
eb7c356bb9 Merge pull request from ehowe/master
[ecloud|compute] Missing API calls/error handling
2012-08-09 11:18:30 -07:00
Eugene Howe
d86123c669 added error handling for edge cases where there are no networks or ips 2012-08-09 13:24:57 -04:00
Eugene Howe
b10d40a7c9 added file upload and ip add capabilities 2012-08-09 13:23:42 -04:00
Steve Smith
97b989c356 [brightbox] Use first available image for server tests.
This uses the Brightbox::Compute::TestSupport.image_id to specify the image to use as part of :server_attributes when running servers_tests.
2012-08-09 13:45:11 +01:00
Steve Smith
7157e47061 [brightbox|ServerGroup] ServerGroups can have a nil name. 2012-08-09 13:44:57 +01:00
Aliaksei Kliuchnikau
13ed022c3f CloudStack: listTemplates, registerTemplate requests return hypervisor in the response 2012-08-09 12:52:52 +03:00
Aliaksei Kliuchnikau
47218e93e3 CloudStack: added registerTemplate request 2012-08-09 12:51:52 +03:00
Wesley Beary
b36744aa2c Merge pull request from lockstone/master
Change iprange --> ec2_secg in Mock.
2012-08-08 20:26:19 -07:00
Brad Gignac
ad358b9ddb Merge pull request from bradgignac/set_server_password
[rackspace|compute] Set password attribute on V2 servers.
2012-08-08 19:16:04 -07:00
Brad Gignac
4d82f7bbc4 [rackspace|compute] Set password attribute on V2 servers.
Provides a method for determining next-gen server passwords.
Adds a read-only attribute to next-gen servers for storing
the root password. The attribute is set whenever a new server
is created or the password on an existing server is changed.
2012-08-08 21:57:37 -04:00
Rob Lockstone
72fb827004 Change iprange --> ec2_secg in Mock.
I assume this was a simple copy/paste error from the code above. Anyway, it fixes the "undefined local variable or method `iprange'" testing error.
2012-08-08 18:44:28 -07:00
Dan Peterson
9dbe1df8f2 [aws|compute] DescribeInstanceStatus code within eventsSet goes on the item. 2012-08-08 21:35:55 -03:00
bdorry
46b4402721 Merge pull request from kliuchnikau/cloudstack_img_get_fix
CloudStack: images.get always returns nil
2012-08-08 12:42:12 -07:00
alex
8dc5148658 CloudStack: images.get always returns nil - fixed 2012-08-08 22:00:34 +03:00
Brian Hartsock
5156e8e4f7 Merge pull request from brianhartsock/fix_rackspace_storage_temp_url_tests
[rackspace|storage] Override path when generating sha1 to make tests pass
2012-08-08 06:01:23 -07:00
Brian Hartsock
ca8a23426d [rackspace|storage] Override path when generating sha1 to make tests past 2012-08-07 21:44:59 -04:00
Brian Hartsock
4f29f79e9d Merge pull request from yob/rackspace_temp_urls
Rackspace Temp/Expiring URLs
2012-08-07 16:10:24 -07:00
Aaron Suggs
229934744b [aws|rds] Mocking support for read replicas.
Tests pass. Still some rough edges (like error handling), but better
than nothing.
2012-08-07 18:27:43 -04:00
Eric Stonfer
3fc47d4b66 Merge pull request from estonfer/reboot_vmware
fix reboot guest in vsphere to reboot rather than shutdown guest, also fixes a mocking test in aws security groups.
2012-08-07 09:22:35 -07:00
Eric Stonfer
850ab086bc fix reboot guest in vsphere to reboot rather than shutdown guest 2012-08-07 12:20:57 -04:00
Ohad Levy
d001b8a168 Merge pull request from ccaum/improve_libvirt_support
Revert 530122d
2012-08-07 02:31:44 -07:00
Brad Gignac
d6c0a5ed07 Merge pull request from bradgignac/rackspace-compute-v2
Rackspace Compute v2
2012-08-06 17:49:01 -07:00
Brad Gignac
b574b27397 [rackspace|compute] Add servers model and collection. 2012-08-06 20:38:51 -04:00
Brad Gignac
773b3461ff [rackspace|compute] Add flavors and images. 2012-08-06 20:38:48 -04:00
Patrick Debois
a909ab7ed0 Merge pull request from ccaum/improve_libvirt_support
Improve libvirt support
2012-08-05 23:26:14 -07:00
Chirag Jog
abd3b0b0b1 1.Fix Catalog Listing for vCD 1.5
2.Construct Valid XML to memory configuration
3.Fix Undeploy vCD 1.5
2012-08-05 21:00:45 +05:30
Chirag Jog
15592c06de Add ability to configure a vApp with an Org-wide network and associated
firewall, NAT rules(limited support).
2012-08-05 21:00:31 +05:30
Chirag Jog
8554a08ea4 1.Ability to fetch/list Orgs, Vdcs, Vapps, Servers.
2.Support to customize CPUs and Password
2012-08-05 21:00:11 +05:30
Chirag Jog
5198f7fec5 Revert Rakefile changes 2012-08-05 18:59:25 +05:30