summaryrefslogtreecommitdiff
path: root/doc/source
diff options
context:
space:
mode:
authorKyrylo Romanenko <kromanenko@mirantis.com>2017-01-13 18:07:04 +0200
committerKyrylo Romanenko <kromanenko@mirantis.com>2017-02-02 09:52:58 +0000
commitf1137be2bc37808ed136ad9e2348054342fefdc1 (patch)
treec7cbd9c5e8ebbd6b1adecfd9099e601494b433ec /doc/source
parent3992c5ddb6807ea82f675cdbd797ac43a0bf529a (diff)
downloadpython-ironicclient-f1137be2bc37808ed136ad9e2348054342fefdc1.tar.gz
Change tenant to project in docs and unit tests
Change os_tenant_name to os_project_name in documentation, client and shell unit tests. This is follow-up change augmenting the patch https://review.openstack.org/#/c/408235/ for consistency. Change-Id: Iaea3ddc71dadc2991e56667988df82aa1cfaf525 Related-Bug: #1646837
Diffstat (limited to 'doc/source')
-rw-r--r--doc/source/api_v1.rst2
-rw-r--r--doc/source/cli.rst4
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/source/api_v1.rst b/doc/source/api_v1.rst
index ada700c..cd5c866 100644
--- a/doc/source/api_v1.rst
+++ b/doc/source/api_v1.rst
@@ -68,7 +68,7 @@ To create a client, you can use the API like so::
>>> kwargs = {'os_username': 'name',
>>> 'os_password': 'password',
>>> 'os_auth_url': 'http://keystone.example.org:5000/',
- >>> 'os_tenant_name': 'tenant'}
+ >>> 'os_project_name': 'project'}
>>> ironic = client.get_client(1, **kwargs)
Perform ironic operations
diff --git a/doc/source/cli.rst b/doc/source/cli.rst
index 8b14d20..78f1ee3 100644
--- a/doc/source/cli.rst
+++ b/doc/source/cli.rst
@@ -30,8 +30,8 @@ environment variables::
$ export OS_USERNAME=user
$ export OS_PASSWORD=password
- $ export OS_TENANT_ID=b363706f891f48019483f8bd6503c54b # or OS_TENANT_NAME
- $ export OS_TENANT_NAME=project # or OS_TENANT_ID
+ $ export OS_PROJECT_ID=b363706f891f48019483f8bd6503c54b # or OS_PROJECT_NAME
+ $ export OS_PROJECT_NAME=project # or OS_PROJECT_ID
$ export OS_AUTH_URL=http://auth.example.com:5000/v2.0
The command-line tool will attempt to reauthenticate using the provided