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
This commit is contained in:
		@@ -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')
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -186,7 +186,7 @@ class CreateRequestToken(show.ShowOne):
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class CreateToken(show.ShowOne):
 | 
			
		||||
    """Create token command"""
 | 
			
		||||
    """Issue token command"""
 | 
			
		||||
 | 
			
		||||
    log = logging.getLogger(__name__ + '.CreateToken')
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user