From c9c1d0006db001b20c7c6d845fdae32ac645baa9 Mon Sep 17 00:00:00 2001 From: Richard Shank Date: Sat, 13 Apr 2013 00:20:13 -0700 Subject: [PATCH] Add documentation for using HPCloud with OpenStack --- README.markdown | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/README.markdown b/README.markdown index ac3fcd0..2d52bda 100644 --- a/README.markdown +++ b/README.markdown @@ -425,12 +425,25 @@ services: - {username: %openstack_username%, password: %openstack_password%, tenantName: %openstack_tenant_name%} ``` +HPCloud: + +``` yaml +# app/config/config.yml +services: + opencloud.connection.hpcloud: + class: OpenCloud\OpenStack + arguments: + - 'https://region-a.geo-1.identity.hpcloudsvc.com:123456/v2.0/' // check https://account.hpcloud.com/account/api_keys for identities urls + - {username: %hpcloud_username%, password: %hpcloud_password%, tenantName: %hpcloud_tenant_name%} +``` +The username and password are your login credentials, not the api key. Your tenantName is your Project Name on the api keys page. + Rackspace: ``` yaml # app/config/config.yml services: - opencloud.connection: + opencloud.connection.rackspace: class: OpenCloud\Rackspace arguments: - 'https://identity.api.rackspacecloud.com/v2.0/' @@ -439,6 +452,23 @@ services: #### Define ObjectStore service +HPCloud: + +``` yaml +# app/config/config.yml +services: + opencloud.object_store: + class: OpenCloud\ObjectStoreBase + factory_service: opencloud.connection.hpcloud + factory_method: ObjectStore + arguments: + - 'Object Storage' # Object storage type + - 'region-a.geo-1' # Object storage region + - 'publicURL' # url type +``` + +Rackspace: + ``` yaml # app/config/config.yml services: