summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTerry Howe <terrylhowe@gmail.com>2014-06-18 11:19:31 -0600
committerTerry Howe <terrylhowe@gmail.com>2014-06-18 14:58:04 -0600
commit25d6955bb477241af0926ca90969b9e0c1ec5647 (patch)
tree4fe217dd5d3ff4208ca09b85d893bcb40c607de1
parentd6321c0893d529af1548da79a985f337bce7069f (diff)
downloadpython-openstackclient-25d6955bb477241af0926ca90969b9e0c1ec5647.tar.gz
Change the token verb to issue/revoke
Change the token verb to issue/revoke as documented in: https://wiki.openstack.org/wiki/OpenStackClient/Commands#token https://wiki.openstack.org/wiki/OpenStackClient/Commands#Actions Change-Id: I44f77f98ad3269c4f2149301c204804dcb75ac81
-rw-r--r--openstackclient/identity/v2_0/token.py4
-rw-r--r--openstackclient/identity/v3/token.py2
-rw-r--r--setup.cfg6
3 files changed, 6 insertions, 6 deletions
diff --git a/openstackclient/identity/v2_0/token.py b/openstackclient/identity/v2_0/token.py
index 793354cf..c503ac57 100644
--- a/openstackclient/identity/v2_0/token.py
+++ b/openstackclient/identity/v2_0/token.py
@@ -23,7 +23,7 @@ from cliff import show
class CreateToken(show.ShowOne):
- """Create token command"""
+ """Issue token command"""
log = logging.getLogger(__name__ + '.CreateToken')
@@ -40,7 +40,7 @@ class CreateToken(show.ShowOne):
class DeleteToken(command.Command):
- """Delete token command"""
+ """Revoke token command"""
log = logging.getLogger(__name__ + '.DeleteToken')
diff --git a/openstackclient/identity/v3/token.py b/openstackclient/identity/v3/token.py
index 3cc78cd7..452a7ae5 100644
--- a/openstackclient/identity/v3/token.py
+++ b/openstackclient/identity/v3/token.py
@@ -186,7 +186,7 @@ class CreateRequestToken(show.ShowOne):
class CreateToken(show.ShowOne):
- """Create token command"""
+ """Issue token command"""
log = logging.getLogger(__name__ + '.CreateToken')
diff --git a/setup.cfg b/setup.cfg
index a1252cb8..9970a4b2 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -151,8 +151,8 @@ openstack.identity.v2_0 =
service_list =openstackclient.identity.v2_0.service:ListService
service_show =openstackclient.identity.v2_0.service:ShowService
- token_create =openstackclient.identity.v2_0.token:CreateToken
- token_delete =openstackclient.identity.v2_0.token:DeleteToken
+ token_issue =openstackclient.identity.v2_0.token:CreateToken
+ token_revoke =openstackclient.identity.v2_0.token:DeleteToken
user_role_list = openstackclient.identity.v2_0.role:ListUserRole
@@ -236,7 +236,7 @@ openstack.identity.v3 =
service_show = openstackclient.identity.v3.service:ShowService
service_set = openstackclient.identity.v3.service:SetService
- token_create = openstackclient.identity.v3.token:CreateToken
+ token_issue = openstackclient.identity.v3.token:CreateToken
user_create = openstackclient.identity.v3.user:CreateUser
user_delete = openstackclient.identity.v3.user:DeleteUser