Skip to content

Commit 61fec71

Browse files
committed
Update docs to refer to PROJECT instead of TENANT
Updates several references for things like OS_TENANT_NAME and --os-tenant-name. Change-Id: If71710740b4d4573a1b3f515a5762a4f82bc727d Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
1 parent dce8a8e commit 61fec71

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

doc/source/cli/index.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ Storage Service (Cinder).
2424

2525
In order to use the CLI, you must provide your OpenStack username, password,
2626
project (historically called tenant), and auth endpoint. You can use
27-
configuration options `--os-username`, `--os-password`, `--os-tenant-name` or
28-
`--os-tenant-id`, and `--os-auth-url` or set corresponding environment
27+
configuration options `--os-username`, `--os-password`, `--os-project-name` or
28+
`--os-project-id`, and `--os-auth-url` or set corresponding environment
2929
variables::
3030

3131
export OS_USERNAME=user
3232
export OS_PASSWORD=pass
33-
export OS_TENANT_NAME=myproject
33+
export OS_PROJECT_NAME=myproject
3434
export OS_AUTH_URL=http://auth.example.com:5000/v3
3535

3636
You can select an API version to use by `--os-volume-api-version` option or by

doc/source/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ and identify which endpoint you wish to speak to. Once you have done so, you
66
can use the API like so::
77

88
>>> from cinderclient import client
9-
>>> cinder = client.Client('1', $OS_USER_NAME, $OS_PASSWORD, $OS_TENANT_NAME, $OS_AUTH_URL)
9+
>>> cinder = client.Client('1', $OS_USER_NAME, $OS_PASSWORD, $OS_PROJECT_NAME, $OS_AUTH_URL)
1010
>>> cinder.volumes.list()
1111
[]
1212
>>> myvol = cinder.volumes.create(display_name="test-vol", size=1)
@@ -91,7 +91,7 @@ The following are kept for historical purposes.
9191

9292
* Fixed usage of the --debug option.
9393
* Documentation and API example improvements.
94-
* Set max volume size limit for the tenant.
94+
* Set max volume size limit for the project.
9595
* Added encryption-type-update to cinderclient.
9696
* Added volume multi attach support.
9797
* Support host-attach of volumes.

doc/source/user/shell.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ variables by setting two environment variables:
2020

2121
Your password.
2222

23-
.. envvar:: OS_TENANT_NAME or CINDER_PROJECT_ID
23+
.. envvar:: OS_PROJECT_NAME or CINDER_PROJECT_ID
2424

2525
Project for work.
2626

@@ -36,7 +36,7 @@ For example, in Bash you'd use::
3636

3737
export OS_USERNAME=yourname
3838
export OS_PASSWORD=yadayadayada
39-
export OS_TENANT_NAME=myproject
39+
export OS_PROJECT_NAME=myproject
4040
export OS_AUTH_URL=http://auth.example.com:5000/v3
4141
export OS_VOLUME_API_VERSION=3
4242

0 commit comments

Comments
 (0)