From 519282d883233b60ce9f36f6a7ae271c4efdd166 Mon Sep 17 00:00:00 2001 From: Michael Simo Date: Wed, 27 May 2015 16:44:26 +0000 Subject: Fixed grammatical errors in the V2 Client API doc In the using-api-v2.rst document, various inconsistencies in spelling of "openstackDemo", as well as the password under the "Creating Tenants" and "Creating Users" sections. Updated service names to adhere to the OpenStack service naming conventions. Fixed capitalization of "Client" to "client". Change-Id: Ib20782f5b05f7097158f606c6562f92126650b89 Closes-Bug: #1458015 --- doc/source/using-api-v2.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'doc') diff --git a/doc/source/using-api-v2.rst b/doc/source/using-api-v2.rst index 03e76e1..6285d21 100644 --- a/doc/source/using-api-v2.rst +++ b/doc/source/using-api-v2.rst @@ -1,5 +1,5 @@ ======================= -Using the V2 Client API +Using the V2 client API ======================= Introduction @@ -36,7 +36,7 @@ it will raise an instance of subclass of Authenticating ============== -There are two ways to authenticate against Keystone: +There are two ways to authenticate against keystone: * against the admin endpoint with the admin token * against the public endpoint with a username and password @@ -56,7 +56,7 @@ user:: >>> from keystoneclient.v2_0 import client >>> username='adminUser' - >>> password='secreetword' + >>> password='secretword' >>> tenant_name='openstackDemo' >>> auth_url='http://192.168.206.130:5000/v2.0' >>> keystone = client.Client(username=username, password=password, @@ -65,7 +65,7 @@ user:: Creating tenants ================ -This example will create a tenant named *openStackDemo*:: +This example will create a tenant named *openstackDemo*:: >>> from keystoneclient.v2_0 import client >>> keystone = client.Client(...) @@ -77,7 +77,7 @@ Creating users ============== This example will create a user named *adminUser* with a password *secretword* -in the opoenstackDemo tenant. We first need to retrieve the tenant:: +in the openstackDemo tenant. We first need to retrieve the tenant:: >>> from keystoneclient.v2_0 import client >>> keystone = client.Client(...) -- cgit v1.2.1