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

5075 commits

Author SHA1 Message Date
Dmitry Dedov
425a3004bd [cloudstack] add disk_offerings collection 2013-04-22 13:39:47 +03:00
Dmitry Dedov
b12e45772f [cloudstack] add disk_offering model 2013-04-22 13:27:32 +03:00
Dmitry Dedov
9de639e123 [cloudstack] add delete_disk_offering request 2013-04-22 13:19:44 +03:00
Dmitry Dedov
3a306e3131 [cloudstack] add create_disk_offering request 2013-04-22 13:17:34 +03:00
Ohad Levy
0e686b2740 Merge pull request from mingjin/vsphere
[Vsphere] delete VMs of which config is NULL
2013-04-21 06:59:41 -07:00
Kyle Rames
73f54fd10e adding space to force travis to build 2013-04-19 09:53:55 -05:00
Kyle Rames
18283114ff [rackspace] fixing bug with mock data 2013-04-19 07:59:33 -05:00
Kyle Rames
12f36dff78 Merge branch 'master' of github.com:fog/fog into network_fix 2013-04-19 07:39:34 -05:00
Kyle Rames
9fb5176301 [rackspace] removing duplicate line caused by bad merge 2013-04-18 15:51:52 -05:00
Kyle Rames
ecda2b51e8 [rackspace|compute_v2] fixed bug where server creation was not adding networks 2013-04-18 15:18:26 -05:00
Andrew Kuklewicz
243102a4d7 fix bug with head request - no query on version id for IA 2013-04-18 13:43:24 -04:00
Andrew Kuklewicz
a6da5bc80e cosmetic - fix space 2013-04-18 13:32:10 -04:00
Kyle Rames
95b3e6e3f3 Merge pull request from rackspace/not_found
[Rackspace] Not Found Exceptions
2013-04-18 06:36:45 -07:00
Wesley Beary
e1cfca8f20 Merge pull request from dm1try/cloudstack_fix_image_field
[cloudstack] fix image password_enabled field alias
2013-04-17 08:54:13 -07:00
Wesley Beary
8ca8a059b2 Merge pull request from pandastream/s3-access-cleanup
[AWS|storage] access cleanup
2013-04-17 08:53:43 -07:00
Kyle Rames
6b27181daa Merge branch 'master' of github.com:fog/fog into not_found 2013-04-17 10:27:55 -05:00
Kyle Rames
b747795501 [rackspace] fixing broken tests 2013-04-17 10:19:07 -05:00
Kyle Rames
a082abf2f8 [rackspace|compute_v2] fixed bug in InvalidStateExceptions 2013-04-17 10:18:47 -05:00
Dmitry Dedov
6086cc0d01 [cloudstack] fix image password_enabled field alias 2013-04-17 13:35:21 +03:00
AltJ
2388513557 fix case where volume isn't instantly available to attach upon creation 2013-04-16 18:38:46 -06:00
Jonas Pfenniger
e11ec2e314 AWS | storage: also escape the bucket name when using the path_style 2013-04-16 23:30:36 +01:00
Jonas Pfenniger
f6d361b2e2 AWS | storage: big refactor
Logics have been centralised:

* region to hostname
* url generation
* signature
* chaning scheme also changes the port

During the process a couple of inconsistencies have also
been fixed.

Known limitations:

When using the @endpoint with a custom port you need to specify the port
when using get_object_http_url or get_object_https_url.

When using bucket names that contain dots outside of us-east-1 make sure to
access it with the same region in your AWS::Storage.
2013-04-16 23:30:35 +01:00
Jonas Pfenniger
f36a3065a9 AWS | storage: fixes ignored location with new buckets
When creating a new directory the location wasn't forwarded properly.

Something like the following is now working as expected (see limitation below):

    Fog::Storage[:aws].directories.create(key: 'bucket', location: 'us-west-1')

It also changes the following behaviour: when no location is specified new
buckets are explicitly created in the same region as the service connection.

Known limitations:

Fog::AWS::Directory instance don't use their location to connect to S3.

If you're using an AWS::Storage with a region different than us-east-1 you
can only create buckets in the same region.
2013-04-16 23:28:04 +01:00
Jonas Pfenniger
62f07402b3 AWS | storage: make directory.persisted? tell the truth
directory.persisted? was relying on the directory having a key which is almost
always true and not related to storage anyways.
2013-04-16 23:28:04 +01:00
Kyle Rames
9f1050c5c4 [rackspace|dns] updated DNS service to use Fog::DNS::Rackspace::NotFound exceptions in keeping with the rest of the services. 2013-04-16 15:01:07 -05:00
Kyle Rames
39bc371513 [rackspace] updated ServiceException to catch JSON decoding exception and display a warning message. 2013-04-16 14:57:34 -05:00
Matthieu Huin
159ad05f8a Changes the path only if subdomain is not @host
see https://github.com/fog/fog/issues/1631#issuecomment-16396992
2013-04-16 10:50:30 +02:00
Kyle Rames
aa2f1065ba [rackspace|storage] updated storage and cdn services to wrap excon exceptions in the same manner as the other Rackspace services. 2013-04-15 13:21:37 -05:00
Kyle Rames
5ed929938a [rackspace] correcting exception classes on YARD docs 2013-04-15 13:12:14 -05:00
Dmitry Dedov
951212e957 [cloudstack] servers collection, add attributes to :all method 2013-04-15 17:38:15 +03:00
Kyle Rames
1173a7ef84 [rackspace] updated NotFound exceptions to include region when available. 2013-04-15 09:31:13 -05:00
Wesley Beary
a83c5eca4b Merge pull request from maginatics/timeout2
Fog::Model#wait_for: eliminate inner retry loop
2013-04-11 08:00:16 -07:00
Dmitry Dedov
ba6242f64d [cloudstack] add list_os_types, list_disk_offerings request mocks 2013-04-11 11:31:18 +03:00
Dmitry Dedov
1a753624b8 [cloudstack] add disk_offerings, os_types mock data 2013-04-11 11:21:58 +03:00
Sergio Rubio
4fb0522361 Merge pull request from frodenas/openstack_get_version
[openstack] Retrieve supported API version for Image & Network services
2013-04-10 03:51:45 -07:00
Ming Jin
69a3cc5e61 fix issues in checking whether VM is of template type 2013-04-10 16:20:12 +08:00
Ming Jin
0f84b3a28c delete whitespaces 2013-04-10 15:52:12 +08:00
Ming Jin
8d182c6bf4 merged fog HEAD, deleting whitespaces 2013-04-10 15:46:33 +08:00
Ming Jin
63a98f8d97 delete vms that is not ready for vm.config, e.g. during the creation period 2013-04-10 15:37:22 +08:00
Kyle Rames
7b07d74e14 Merge pull request from rackspace/json_lib
[Core] Updated Fog::JSON to use JSON gem by default
2013-04-08 08:13:46 -07:00
Mick Pollard
5f9c927f98 [vsphere|compute] fix incorrect filters.merge in networks model 2013-04-08 20:08:24 +10:00
Sergio Rubio
d2c51138f1 Merge pull request from frodenas/openstack_volumes
[openstack|compute] Add volume attachment methods
2013-04-05 13:03:40 -07:00
Sergio Rubio
0b3463f482 Fix CHANGELOG fog version for digitalocean, xenserver and openstack 2013-04-05 20:29:15 +02:00
Jeff McCune
20d42c40fc (maint) Clean up whitespace errors 2013-04-04 23:07:50 -07:00
Ming Jin
0ddcbc2678 [vsphere|compute] add options of numCPUs and memoryMB for VM clone 2013-04-04 23:01:26 -07:00
Ming Jin
9120ed7668 [vsphere|compute] add get_template function 2013-04-04 23:01:17 -07:00
Ming Jin
9ee029e70a [vsphere|compute] add list_templates function
Templates used to be included in Compute[:vsphere].servers.all, but
they've been pruned out for awhile now.  This patch adds the
functionality back in so that templates may be located for cloning.
2013-04-04 23:00:10 -07:00
Tejas Ravindra Mandke
036a037074 [vsphere|compute] Switch some attributes to lazyload 2013-04-04 22:55:09 -07:00
Tejas Ravindra Mandke
88de0d008f [vsphere|compute] Bulk fetch all managed views VM properties 2013-04-04 22:55:04 -07:00
Jeff McCune
d56553d8c7 (maint) Fixup whitespace 2013-04-04 21:49:19 -07:00