Return-Path:
Each listener has a protocol (e.g. TCP), a load balancer port and an instance port. The load balancer represents the port on which the balancer accepts connections. The instance port represents the port on which network traffic is forwarded to instances in the instance list.
@@ -116,14 +117,14 @@ Each listener has aOn the other hand, these changes would violate API stability and therefore they are not made:
@@ -265,6 +268,7 @@ You can access an automatically generate
You can access a specific realm by adding its identifier:
@@ -211,6 +212,7 @@ puts instance.hardware_profile.architect+ + +
When attached to an instance, a storage volume will also expose a mount element which contains the attributes instance and device, specifying the instance, to which the volume is attached, and the mount point (e.g. /dev/sdh), respectively.
@@ -148,11 +152,15 @@ which contains the attributes in | + +|||
---|---|---|---|
 | Create new instances | @@ -121,10 +122,11 @@List all/get details about instances | -|
+ | |||
Amazon EC2 | yes | @@ -138,8 +140,8 @@yes | |
+ | |||
Eucalyptus | yes | @@ -152,8 +154,8 @@yes | yes |
+ | |||
IBM SmartCloud | yes | @@ -166,8 +168,8 @@yes | yes |
+ | |||
GoGrid | yes | @@ -180,8 +182,8 @@yes | yes |
+ | |||
OpenNebula | yes | @@ -194,8 +196,8 @@yes | yes |
+ | |||
Rackspace | yes | @@ -208,8 +210,8 @@yes | yes |
+ | |||
RHEV-M | yes | @@ -222,8 +224,8 @@yes | yes |
+ | |||
RimuHosting | yes | @@ -236,8 +238,8 @@yes | yes |
+ | |||
Terremark | yes | @@ -250,8 +252,8 @@yes | yes |
+ | |||
vSphere | yes | @@ -264,8 +266,8 @@yes | yes |
+ | |||
OpenStack | yes | @@ -278,8 +280,8 @@yes | yes |
+ | |||
FGCP | yes | @@ -292,8 +294,8 @@yes | yes |
+ | |||
Aruba cloud.it | yes | @@ -306,12 +308,14 @@yes | yes |
 | + +|||
---|---|---|---|
 | Create new buckets | @@ -330,10 +334,11 @@Read/write individual blob attributes | -|
+ | |||
Amazon S3 | yes | @@ -343,8 +348,8 @@yes | yes |
+ | |||
Eucalyptus Walrus | yes | @@ -354,8 +359,8 @@yes | yes |
+ | |||
Rackspace CloudFiles | yes | @@ -365,8 +370,8 @@yes | yes |
+ | |||
Microsoft Azure | yes | @@ -376,8 +381,8 @@yes | yes |
+ | |||
Google Storage | yes | @@ -387,21 +392,25 @@yes | yes |
Cloud | + +|||||
---|---|---|---|---|---|
Cloud | Driver | Username | Password | Notes | -|
+ | |||||
mock | mock | @@ -409,8 +418,8 @@mockpassword | The mock driver doesn't talk to any cloud; it just pretends to be a cloud. | ||
+ | |||||
Amazon EC2/S3 | ec2 | @@ -418,8 +427,8 @@Secret Access Key | This information can be found on the Security Credentials page in your AWS account. | ||
+ | |||||
Eucalyptus | eucalyptus | @@ -427,8 +436,8 @@Secret Access Key | |||
+ | |||||
GoGrid | gogrid | @@ -436,8 +445,8 @@Shared Secret | Go to My Account > API Keys for your account and click on the key you want to use to find the shared secret. | ||
+ | |||||
IBM SmartCloud | sbc | @@ -445,8 +454,8 @@Password | |||
+ | |||||
Microsoft Azure (Storage Account only) | azure | @@ -454,8 +463,8 @@Primary Access Key | The Storage Account Name is chosen when you create the service (e.g. name in http://name.blob.core.windows.net/). This and the access key are available from the service control panel. | ||
+ | |||||
OpenNebula | opennebula | @@ -463,8 +472,8 @@OpenNebula password | Set the environment variable OCCI_URL to the address on which OpenNebula's OCCI server is listening. | ||
+ | |||||
Rackspace Cloud Servers/Cloud Files | rackspace | @@ -472,8 +481,8 @@API Key | Obtain the key from the API Access page in your control panel. | ||
+ | |||||
RHEV-M | rhevm | @@ -483,8 +492,8 @@RHEV-M password | Set environment variable API_PROVIDER to the URL of the RHEV-M REST API endpoint. | ||
+ | |||||
Rimuhosting | rimuhosting | @@ -492,8 +501,8 @@API Key | |||
+ | |||||
Terremark | terremark | @@ -501,8 +510,8 @@Password | |||
+ | |||||
VMware vSphere | vsphere | @@ -510,8 +519,8 @@vSphere user password | Set environment variable API_PROVIDER to the hostname of the vSphere server. | ||
+ | |||||
OpenStack | openstack | @@ -519,8 +528,8 @@OpenStack user password | Set environment variable API_PROVIDER to the URL of OpenStack API entrypoint. | ||
+ | |||||
Aruba cloud.it | aruba | @@ -528,9 +537,10 @@Password |
Basically, you interact with the Deltacloud server via HTTP calls, so you can use any HTTP client to talk to Deltacloud using the REST API.
@@ -214,7 +217,10 @@ The '-iv' flags will en
Working with cURL
-
Libdeltacloud is a C/C++ library for accessing the Deltacloud API. It exports convenient structures and functions for manipulating cloud objects through the Deltacloud API.
@@ -236,6 +242,8 @@ Due to the magic of libtool versioning,The deltacloud drivers are stored in deltacloud/server/lib/deltacloud/drivers.
To add a driver for a hypotetical Foo cloud, add a directory into /drivers/ and then add a file for a driver itself: @@ -138,7 +141,9 @@ end
Thus, your driver for the cloud provider Foo may look like:
+ + +Thus, your driver for the cloud provider Foo may look like:
require 'deltacloud/base_driver' @@ -205,26 +210,30 @@ The voodoo used here (i.e. definition ofValid states are:
The instance is located in the:begin state before being created. Immediately after being destroyed the instance is removed to the :end state.
+ + +The instance is located in the:begin state before being created. Immediately after being destroyed the instance is removed to the :end state.
Valid transition actions are:
The action :automatically may be used to indicate a tranisition that may occur without an action being triggered (see the example above).
+ + +The action :automatically may be used to indicate a tranisition that may occur without an action being triggered (see the example above).
You can implement some other methods according to the collections you will be supporting:
+ + +
The hardware_profiles(...) method should return an array of HardwareProfile objects. The opts hash, if present, must be inspected for :id and :architecture keys. If these keys are available, the results should be filtered by the value associated with each key. The filter_on(...) helper method is used for the filtering and as you can see from existing driver method definitions, is invoked in many of the driver collection methods:
@@ -317,6 +328,7 @@ $ cucumber ../tests/ec2