summaryrefslogtreecommitdiff
path: root/openstackclient/identity/v3/role.py
diff options
context:
space:
mode:
authorSteve Martinelli <stevemar@ca.ibm.com>2013-07-11 22:40:24 -0500
committerSteve Martinelli <stevemar@ca.ibm.com>2013-07-12 11:07:33 -0500
commit1a0d5ccc68f65394292992b48afe20241e89e7b8 (patch)
treee28cadeb264d0b2701bc20ea5ef2d636ef991cec /openstackclient/identity/v3/role.py
parentf0d3bf85d8102b9bdfe83852588f9bdc895f32c6 (diff)
downloadpython-openstackclient-1a0d5ccc68f65394292992b48afe20241e89e7b8.tar.gz
Remove api = apiName calls from each method
As discussed in https://review.openstack.org/#/c/36352/ for each command, we were setting api = identity or volume... etc, this was for an old way of calling commands that are is no longer used. Also removed openstackclient/common/command.py Change-Id: I2705f35d343f2ae729dc22d6aed0b852b2f8ca19
Diffstat (limited to 'openstackclient/identity/v3/role.py')
-rw-r--r--openstackclient/identity/v3/role.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/openstackclient/identity/v3/role.py b/openstackclient/identity/v3/role.py
index 7387509a..9be3b784 100644
--- a/openstackclient/identity/v3/role.py
+++ b/openstackclient/identity/v3/role.py
@@ -28,7 +28,6 @@ from openstackclient.common import utils
class AddRole(command.Command):
"""Adds a role to a user or group on a domain or project"""
- api = 'identity'
log = logging.getLogger(__name__ + '.AddRole')
def get_parser(self, prog_name):
@@ -108,7 +107,6 @@ class AddRole(command.Command):
class CreateRole(show.ShowOne):
"""Create new role"""
- api = 'identity'
log = logging.getLogger(__name__ + '.CreateRole')
def get_parser(self, prog_name):
@@ -131,7 +129,6 @@ class CreateRole(show.ShowOne):
class DeleteRole(command.Command):
"""Delete existing role"""
- api = 'identity'
log = logging.getLogger(__name__ + '.DeleteRole')
def get_parser(self, prog_name):
@@ -155,7 +152,6 @@ class DeleteRole(command.Command):
class ListRole(lister.Lister):
"""List roles"""
- api = 'identity'
log = logging.getLogger(__name__ + '.ListRole')
def take_action(self, parsed_args):
@@ -172,7 +168,6 @@ class ListRole(lister.Lister):
class RemoveRole(command.Command):
"""Remove role command"""
- api = 'identity'
log = logging.getLogger(__name__ + '.RemoveRole')
def get_parser(self, prog_name):
@@ -251,7 +246,6 @@ class RemoveRole(command.Command):
class SetRole(command.Command):
"""Set role command"""
- api = 'identity'
log = logging.getLogger(__name__ + '.SetRole')
def get_parser(self, prog_name):
@@ -285,7 +279,6 @@ class SetRole(command.Command):
class ShowRole(show.ShowOne):
"""Show single role"""
- api = 'identity'
log = logging.getLogger(__name__ + '.ShowRole')
def get_parser(self, prog_name):