deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Karnath (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (DTACLOUD-446) Openstack - make it easier to connect to 'public' openstack providers (like HP)
Date Wed, 30 Jan 2013 11:21:12 GMT

    [ https://issues.apache.org/jira/browse/DTACLOUD-446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13566374#comment-13566374
] 

Christian Karnath edited comment on DTACLOUD-446 at 1/30/13 11:20 AM:
----------------------------------------------------------------------

Suggesting the attached patch which adds a specialized driver for hpcloud.com to simplify
the connection parameters (auth_url and tenant_name) and to support different regions. The
auth_url and tenant_name must not be set anymore from the client because these parameters
are statically defined in the driver. The region can be set through API_PROVIDER and based
on the region parameter the correct authentication server (api_url) will be used to authenticate.

Usage example (compute):
> curl -H "X-Deltacloud-Driver: hp" -H "X-Deltacloud-Provider: az-2.region-a.geo-1" -u
"UN:PW" http://127.0.0.1:3001/api/instances?format=xml

Usage example (object storage):
> curl -H "X-Deltacloud-Driver: hp" -H "X-Deltacloud-Provider: region-a.geo-1"  -u "UN:PW"
"https://127.0.0.1:3001/api/buckets?format=xml"

Supported compute regions: az-1.region-a.geo-1, az-2.region-a.geo-1 and az-3.region-a.geo-1
Supported object storage regions: region-a.geo-1 and region-b.geo-1
                
      was (Author: karnath):
    Suggesting the attached patch which adds a specialized driver for hpcloud.com to simplify
the connection parameters (auth_url and tenant_name) and to support different regions. The
auth_url and tenant_name must not be set anymore from the client because these parameters
are statically defined in the driver. The region can be set through API_PROVIDER and based
on the region parameter the correct authentication server (api_url) will be used to authenticate,

Usage example:
curl -H "X-Deltacloud-Driver: hp" -H "X-Deltacloud-Provider: az-2.region-a.geo-1" -u "UN:PW"
http://127.0.0.1:3001/api/instances?format=xml
                  
> Openstack - make it easier to connect to 'public' openstack providers (like HP)
> -------------------------------------------------------------------------------
>
>                 Key: DTACLOUD-446
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-446
>             Project: DeltaCloud
>          Issue Type: Wish
>            Reporter: Marios Andreou
>            Assignee: Marios Andreou
>         Attachments: 0001-Driver-for-hp-to-simplify-the-connection-parameters-.patch
>
>
> (from irc discussion with Christian Karnath)
> (12:36:20) Christian_: marios: in general - does a speciazlized hp driver makes sense?
i mean hp is a public cloud provider like amazon and for ec2 for example you dont need to
supply a api_url
> (12:36:57) marios: Christian_: hmm.. not sure about that - kinda defeats the object/goes
against the spirit  of openstack
> (12:37:22) pblaho [pblaho@nat/redhat/x-tdojjupsuwxxrqjs] entered the room.
> (12:37:24) marios: Christian_: i mean - unless there's some wild deviation in the hp
implementation from vanilla openstack - but afaik there isn't
> (12:37:41) marios: Christian_: it would mean we'd need a new driver for every openstack
provider out there
> (12:39:35) marios: Christian_: do you think we need a specialised hp driver?
> (12:40:36) marios: Christian_: if the only reason for it is the 'provider url' - we could
consider another solution.. like an additional parameter .... deltacloudd -i openstack -api_url
'hp'
> (12:40:43) marios: Christian_: and we define that somewhere
> (12:40:49) marios: Christian_: or are you thinking about more that this?
> (12:41:04) Christian_: marios: i know... hmm good question. the benefit will be a longer
list of supported providers (not every users know that hp runs openstack) 
> (12:41:16) Christian_: marios: well and the setup is muck easier
> (12:41:28) Christian_: marios: only username, password and region is required as an input
parameter
> (12:42:01) Christian_: marios: it would be as easy as connecting to ec2
> (12:42:43) marios: Christian_: right - then how about what i suggest above then:
> (12:42:51) marios: (12:40:36) marios: Christian_: if the only reason for it is the 'provider
url' - we could consider another solution.. like an additional parameter .... deltacloudd
-i openstack -api_url 'hp'
> (12:43:14) marios: Christian_: (just an example - we can think/discuss the syntax etc)
> (12:43:38) Christian_: marios: additional parameter is fine too (if /api/realms is implemented
for the realm stuff...)
> (12:44:06) marios: Christian_: ok - lets put this on ice for now - i'll file a jira for
it now so we don't forget... sec

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message