summaryrefslogtreecommitdiff
path: root/openstackclient/identity/v2_0/role.py
Commit message (Collapse)AuthorAgeFilesLines
* Identity v3 testsDean Troyer2013-09-091-2/+8
| | | | | | | | | * Add project, user, role and service v3 tests * Fix issues in commands with enable/disable * Make commands and tests more consistent between versions * Make formatting and comments more consistent Change-Id: Id21e7a5abd7e421a7742f937861ec46b53095fc7
* Add Identity v2 role and service testsDean Troyer2013-09-041-8/+19
| | | | | | | | | * Add current auth info (auth_ref) to ClientManager * Fix identity.v2_0.role.ListUserRole to get default user/project from ClientManager.auth_ref * Fix identity.v2_0.role.AddRole call to roles.add_user_role() Change-Id: Ie8bf41c491d97b0292a2b86bdc9b7580989a7f97
* Remove tenant round 2 - Identity APIDean Troyer2013-07-311-27/+42
| | | | | | | Rename everything in the Identity v2 code including the file and classes. * role, tenant, user Change-Id: I0b99c60a24f5875120136d2f216aa3b6bce1c641
* Begin Python 3 compatabilityDean Troyer2013-07-291-4/+5
| | | | | | | | | | | * use six.iteritems() * replace basestring with six.string_types * convert print statements to functions (they're all debugging and should be removed eventually anyway) * clean up OpenStack copyright: LLC -> Foundation Change-Id: Icb14212bcb408e63816bfec3922a697bc1a6c946
* Remove api = apiName calls from each methodSteve Martinelli2013-07-121-7/+0
| | | | | | | | | | | 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
* Upgraded to PEP8 1.3.3 to stay aligned with Nova, etc.Josh Kearney2013-01-311-56/+30
| | | | | | | | Made all the necessary changes to pass new PEP8 standards. Also cleaned up docstrings to conform to the HACKING stanards. Change-Id: Ib8df3030da7a7885655689ab5da0717748c9edbe
* Standardize on a copyright header and ensure all files have them.Josh Kearney2013-01-241-12/+10
| | | | Change-Id: I64812bca01ca655c9cf9239a0daea84907082a29
* Refactor cliff.Command.run()Dean Troyer2012-06-201-22/+22
| | | | | | | * All commands now perform their action in take_action(). Those producing output are derived from DisplayCommandBase. Change-Id: Ic93ba9a2ad449d84242b6aa8624b41379c4fb79a
* removing print call in roles get_dataMatt Joyce2012-05-231-1/+0
| | | | Change-Id: I2aebf6099821212d4bd4b4b6d78b9752085168b2
* Add role CRUD commandsDean Troyer2012-05-181-0/+268
* add {add|create|delete|list|remove|show|user-list} role commands Change-Id: I27129168a9f58154fcdb062a533fa926737f822f