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

5632 commits

Author SHA1 Message Date
Romain Vrignaud
d06ce67cd6 [google|compute] fix typo on disk example 2013-08-05 11:27:01 +02:00
Romain Vrignaud
ac8f123900 [google|compute] disks.all shouldn't return nil
* disk.all should return empty Fog::Compute::Google::Disks
2013-08-05 11:10:45 +02:00
Nat Welch
7d46eb4959 Merge pull request from maginatics/gce_accept_public_key_string
[google|compute] Accept public_key and public_key_path when creating GCE server
2013-08-04 17:17:29 -07:00
Nat Welch
e39d324eba Merge pull request from rvrignaud/images
[google|compute] client.images doesn't list google public images
2013-08-04 17:15:01 -07:00
Nat Welch
e12f349960 Merge pull request from rvrignaud/get_server
[google|compute] in servers.get, catch fog errors
2013-08-04 10:41:23 -07:00
Nat Welch
2a90ff9e2b Merge pull request from rvrignaud/gce
[google|compute] all method in Google::Compute::Servers should have filters argument
2013-08-04 10:35:23 -07:00
Romain Vrignaud
4a85656d25 [google|compute] servers.get don't catch errors
* If server is not present in first tested zone an error is raised
  and not catched
2013-08-04 18:27:32 +02:00
Romain Vrignaud
9f2bd9b80b [google] client.images doesn't list google public images 2013-08-03 09:22:58 +02:00
Dan Peterson
ab25d09d94 Merge pull request from mikehale/aws-elb-policy-model-update
[AWS|ELB] policy model update
2013-08-02 10:25:02 -07:00
Nat Welch
fb1d8b777c Merge pull request from rvrignaud/flavors
Fix Fog::Compute::Google::Flavor all method
2013-08-02 09:39:13 -07:00
Akshay Moghe
7f46d7ad3b Accept public_key and public_key_path when creating GCE server
Earlier, the code forced the user to specify the :public_key_path
option when creating the server. In some cases, the user may want
to pass in the key itself (string), and not a path. This patch
changes the code to use the #public_key method, which will first
check if the key was specified, and only attempt to read the file
if it wasn't specified.
2013-08-01 22:49:49 -07:00
Michael Hale
8128fce600 [AWS|ELB] policy model and collection support creating and showing OtherPolicies 2013-08-01 16:37:50 -04:00
Michael Hale
8ae33f1a2e [AWS|ELB] fix PolicyTypeNotFound error in create_load_balancer_policy mock 2013-08-01 16:37:50 -04:00
Michael Hale
57cb4d7900 [AWS|ELB] mocks emulate AWS behavior
when setting a policy for the backend server a subsequent describe is
required to update the local state with the current BackendServerDescriptions
2013-08-01 16:09:13 -04:00
Michael Hale
cea66c2cad [AWS|ELB] fix set_load_balancer_polices_for_backend mock to track set BackgroundServerDescriptions 2013-08-01 15:21:53 -04:00
Michael Hale
5e88bb0606 [AWS|ELB] emulate AWS behavior: no BackendServerDescriptions by default 2013-08-01 15:20:52 -04:00
Michael Hale
12451fe06e [AWS] print out raw response string when DEBUG_RESPONSE env var is set 2013-08-01 15:00:38 -04:00
Michael Hale
6dcc7d3e1d [AWS|ELB] fix InstancePort parsing in describe_load_balancers 2013-08-01 15:00:37 -04:00
Wesley Beary
66755e9de7 Merge pull request from mikehale/elb-updates
[AWS|ELB] proxy protocol support
2013-08-01 08:44:46 -07:00
Michael Hale
992a248711 [AWS|ELB] add support for OtherPolicies 2013-07-31 23:34:28 -04:00
Michael Hale
686e51bc12 [AWS|ELB] add support for seeing backend server descriptions 2013-07-31 23:34:28 -04:00
Michael Hale
fed7876811 [AWS|ELB] add set_load_balancer_policies_for_backend_server request 2013-07-31 23:34:28 -04:00
Michael Hale
159e60ca88 [AWS|ELB] add ProxyProtocolPolicyType (and formatting) 2013-07-31 23:34:21 -04:00
Kyle Rames
ae52c807f7 [rackspace|compute_v2] renaming keypairs to key_pairs to match other compute implementations 2013-07-31 14:12:43 -05:00
Romain Vrignaud
a38fa44112 Fix Fog::Compute::Google::Flavor all method
* list_machine_types takes one zone as argument
2013-07-31 17:04:28 +02:00
Romain Vrignaud
01217c5231 Fix all in Fog::Compute::Servers 2013-07-31 15:17:34 +02:00
Blake Gentry
0cada640ac [AWS|ASG] parse ScalingPolicy MinAdjustmentStep
For some reason this attribute was missing from the parser. Proof that
it exists:

http://docs.aws.amazon.com/AutoScaling/latest/APIReference/API_ScalingPolicy.html
2013-07-30 17:42:37 -07:00
Gustavo Villalta
96f9fae02d [xenserver] Consoles collection created 2013-07-30 14:20:48 -03:00
Gustavo Villalta
58aba87c81 [xenserver] Console model created 2013-07-30 14:13:45 -03:00
Wesley Beary
2b3b024c72 Merge pull request from sbergmann/master
Fix #server so that it returns the right server instead of all servers
2013-07-30 08:41:15 -07:00
Shay Bergmann
0d8e35227c Fix #server so that it returns the right server instead of all servers 2013-07-30 18:22:41 +03:00
Blake Gentry
a5e6fbc51f [AWS|ASG] filtering for ASG Scaling Activities 2013-07-29 16:04:44 -07:00
Sergio Rubio
9e1cacf7da Merge pull request from trobrock/better-digitalocean
Better digitalocean support
2013-07-29 14:05:49 -07:00
Wesley Beary
b2f8e7bd22 Merge pull request from maestrodev/vsphere_not_found
[vsphere] Raise NotFound exception when Datacenter or Template is not found
2013-07-29 13:13:10 -07:00
Carlos Sanchez
2fdadcb360 [vsphere] Raise NotFound exception when Datacenter or Template is not found
Match behavior with other providers
2013-07-29 21:58:46 +02:00
Trae Robrock
dbdf1e1f24 Add ip_address method back, but deprecate it. 2013-07-29 10:10:25 -07:00
Wesley Beary
32529dc301 Merge pull request from kuinak/openstack_network_quotas
add support for openstack network quota endpoints
2013-07-29 07:21:39 -07:00
Wesley Beary
01120c59f9 Merge pull request from trobrock/better-dnsimple
Add mock for dnsimple and fix tests for non mock mode
2013-07-29 07:20:34 -07:00
Wesley Beary
5d5f84bf9d Merge pull request from trobrock/connection-reset
Adding exception from net-ssh 2.6 that occurs during bootstrap as sshd is just starting up
2013-07-29 07:10:56 -07:00
Trae Robrock
31287c0cb2 Use id for record update 2013-07-28 21:19:40 -07:00
Trae Robrock
e8c328edfb Use the id for deletion also 2013-07-28 20:29:49 -07:00
Trae Robrock
302ee5a9cb Fix mock for creation by id 2013-07-28 13:40:04 -07:00
Trae Robrock
766aca47c1 Use the zone id for record creation 2013-07-28 13:20:48 -07:00
Trae Robrock
d8ffe4c411 Handle missing record case 2013-07-28 13:13:20 -07:00
Trae Robrock
3ba09b85b7 handle zone with no records 2013-07-28 13:02:04 -07:00
Trae Robrock
1e96bfcbed Add proper error message to 404 2013-07-28 12:56:58 -07:00
Trae Robrock
c731454183 Return a 404 if the domain does no exist 2013-07-28 12:52:07 -07:00
Trae Robrock
af9490404e Correct record creation response 2013-07-28 12:39:32 -07:00
Trae Robrock
3dd9711721 Add mock and test for get_record 2013-07-28 12:19:15 -07:00
Trae Robrock
25f50f761e Add mock for dnsimple and fix tests for non mock mode 2013-07-28 11:07:29 -07:00