Add support for Openstack Identity v3 API

Signed-off-by: Li Wenquan <wenquan.li@hp.com>
This commit is contained in:
davidli 2015-06-08 16:37:11 +08:00 committed by Sylvain Baubeau
parent 3ff9f9b9cc
commit af99dbd6bf
4 changed files with 105 additions and 21 deletions

View file

@ -49,7 +49,6 @@ This section lists all the registry configuration options. Some options in
the list are mutually exclusive. So, make sure to read the detailed reference
information about each option that appears later in this page.
<<<<<<< HEAD
version: 0.1
log:
level: debug
@ -96,8 +95,12 @@ information about each option that appears later in this page.
swift:
username: username
password: password
authurl: https://storage.myprovider.com/v2.0
authurl: https://storage.myprovider.com/v2.0 or https://storage.myprovider.com/v3/auth
tenant: tenantname
tenantid: tenantid
domain: domain name for Openstack Identity v3 API
domainid: domain id for Openstack Identity v3 API
insecureskipverify: true
region: fr
container: containername
rootdirectory: /swift/object/name/prefix
@ -665,6 +668,50 @@ This storage backend uses Openstack Swift object storage.
Your Openstack tenant name.
</td>
</tr>
<tr>
<td>
<code>tenantid</code>
</td>
<td>
no
</td>
<td>
Your Openstack tenant id.
</td>
</tr>
<tr>
<td>
<code>domain</code>
</td>
<td>
no
</td>
<td>
Your Openstack domain name for Identity v3 API.
</td>
</tr>
<tr>
<td>
<code>domainid</code>
</td>
<td>
no
</td>
<td>
Your Openstack domain id for Identity v3 API.
</td>
</tr>
<tr>
<td>
<code>insecureskipverify</code>
</td>
<td>
no
</td>
true for skip TLS verification, false by default.
<td>
</td>
</tr>
<tr>
<td>
<code>chunksize</code>

View file

@ -12,7 +12,15 @@ An implementation of the `storagedriver.StorageDriver` interface which uses [Ope
`container`: The name of your Swift container where you wish to store objects. An additional container - named `<container>_segments` to store the data will be used. The driver will try to create both containers during its initialization.
`tenant`: (optional) Your Openstack tenant name.
`tenant`: (optional) Your Openstack tenant name. You can either use `tenant` or `tenantid`.
`tenantid`: (optional) Your Openstack tenant id. You can either use `tenant` or `tenantid`.
`domain`: (Optional) Your Openstack domain name for Identity v3 API. You can either use `domain` or `domainid`.
`domainid`: (Optional) Your Openstack domain id for Identity v3 API. You can either use `domain` or `domainid`.
`insecureskipverify`: (Optional) insecureskipverify can be set to true to skip TLS verification for your openstack provider. Default is false.
`region`: (optional) The name of the Openstack region in which you would like to store objects (for example `fr`).