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

3393 commits

Author SHA1 Message Date
Oleg
118e1c3281 Update lib/fog/aws/requests/compute/describe_instance_status.rb
Added missing request parameter IncludeAllInstances
2012-08-21 22:27:56 +03:00
Wesley Beary
959f14613c Merge pull request from zacharydanger/rackspace-cdn-headers
Update public_url to handle new header casings from Rackspace
2012-08-20 12:42:31 -07:00
Wesley Beary
e0dbefaf96 Merge pull request from TrevorBramble/bluebox_create_box_post_body
Submit password/ssh_key/username through POST body
2012-08-20 09:19:37 -07:00
Zachary Danger Campbell
270a4318c7 Update public_url to handle new header casings from Rackspace 2012-08-20 10:47:26 -05:00
Edward Muller
a0a23f7400 Merge pull request from thommahoney/iops_validations
Better mocks for invalid Provisioned IOPS values
2012-08-17 16:40:21 -07:00
Thom Mahoney
4810343c13 Better mocks for invalid Provisioned IOPS values 2012-08-17 16:01:03 -07:00
vkhatri
4bed4176c5 Update lib/fog/aws/models/compute/security_group.rb 2012-08-18 02:27:02 +05:30
Trevor Bramble
9ff8ccf076 Submit password/ssh_key/username through POST body
Password or ssh_key, and username are currently submitted through the
request's querystring, which means they will appear in server logs.

This change moves the sensitive parameters to the request body, adds
client-side checking of the required parameters, and corrects the method
documentation to reflect addition of location_id parameter and specify
the parameter types as strings (they are alpha-numeric UUIDs).
2012-08-17 13:41:51 -07:00
Wesley Beary
fc62664417 Merge pull request from bgentry/route53-hosted-zones
[aws|dns] automatically figure out the ELB's hosted_zone_id if possible
2012-08-17 08:58:04 -07:00
Wesley Beary
98fbee4407 Merge pull request from atambo/patch-1
Documentation error for delete_object
2012-08-17 08:09:28 -07:00
Wesley Beary
db1e3603ea Merge pull request from pmenglund/master
use 10.04 instead of 12.04
2012-08-17 07:50:21 -07:00
Alex Tambellini
dedd6e71b1 Documentation error for delete_object 2012-08-17 10:56:39 -03:00
Martin Englund
7328bfd15d use 10.04 instead of 12.04 2012-08-16 22:03:02 -07:00
Blake Gentry
26d366d304 automatically figure out the elb hosted_zone_id if possible
* Fixes 
2012-08-16 16:31:22 -07:00
Wesley Beary
13d3a4750f Merge pull request from bgentry/route53-wildcard-escape
[aws|dns] parse ASCII code * in wildcard domain. Fixes 
2012-08-16 16:05:28 -07:00
geemus
9fc9244ee4 [aws|compute] fix mock filters for internet gateways/subnets/vpcs 2012-08-16 17:53:17 -05:00
Blake Gentry
d53c31ea34 parse ASCII code * in wildcard domain. Fixes 2012-08-16 15:05:38 -07:00
geemus
41e7132d14 [aws|elb] fixes for mock tests 2012-08-16 15:17:42 -05:00
geemus
cbcd71236d [cloudstack|compute] remove erroneous comma in merge command 2012-08-16 14:38:51 -05:00
Wesley Beary
61a9ca826b Merge pull request from pmenglund/master
Default ImageId for sa-east-1 missing
2012-08-16 12:36:05 -07:00
Martin Englund
a068ea2d87 don't let the Paulistas be left out of the party 2012-08-16 11:55:00 -07:00
Eugene Howe
f3e60762e8 [compute|Ecloud] Ecloud should not show up as a valid provider when not providing credentials 2012-08-16 10:22:45 -04:00
Steve Smith
3a19598730 Merge pull request from brightbox/updates_for_tests
Updates for tests removing hardcoded image references
2012-08-16 01:24:51 -07:00
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
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
b221b97ba6 [brightbox|compute] Helper to get default image from API
* First will look for a configuration value brightbox_default_image
* Second will query the API for latest Ubuntu (ideally LTS)
2012-08-15 15:48:23 +01:00
Paul Thornthwaite
deb2ca830e [brightbox|compute] Implemented reboot using available API commands 2012-08-15 12:01:31 +01:00
Paul Thornthwaite
cb1357252a [brightbox|compute] Merged outstanding work from Brightbox's fork 2012-08-15 11:58:32 +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
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
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
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
alex
8dc5148658 CloudStack: images.get always returns nil - fixed 2012-08-08 22:00:34 +03: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