Merge "Change the token verb to issue/revoke"

This commit is contained in:
Jenkins 2014-06-18 22:44:24 +00:00 committed by Gerrit Code Review
commit 0a491b2ac8
3 changed files with 6 additions and 6 deletions
openstackclient/identity
setup.cfg

@ -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')

@ -149,7 +149,7 @@ class CreateRequestToken(show.ShowOne):
class CreateToken(show.ShowOne):
"""Create token command"""
"""Issue token command"""
log = logging.getLogger(__name__ + '.CreateToken')

@ -152,8 +152,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
@ -235,7 +235,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