summaryrefslogtreecommitdiff
path: root/openstackclient/identity
Commit message (Collapse)AuthorAgeFilesLines
...
* | Remove 'oauth authorization show' function from identity v3Steve Martinelli2013-07-311-24/+0
| | | | | | | | | | | | Remove the mentioned function since I removed it in the client. Change-Id: I45e713a1cdad92d257b895adfaa269404be6e6d8
* | Merge "Add security group commands"Jenkins2013-07-311-1/+12
|\ \ | |/ |/|
| * Add security group commandsDean Troyer2013-07-291-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add security group: create, delete, list, set, show * Add server: add secgroup, remove secgroup * Add security group rule: create, delete, list * Add Oslo's strutils and gettextutils * Adds parseractions.RangeAction() to handle option arguments of either a single number or a range of numbers: '--port 25' or '--port 1024:65535' Blueprint: nova-client Change-Id: Iad2de1b273ba29197709fc4c6a1036b4ae99725f
* | Begin Python 3 compatabilityDean Troyer2013-07-2916-56/+73
|/ | | | | | | | | | | * 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
* Add password field to set userSteve Martinelli2013-07-201-0/+2
| | | | | | | Noticed this was missing in set user, the password from parsed args wasn't being passed in. Change-Id: I0eb748444b86b374265b6e1dd02f69a922a9b043
* Merge "Add list and delete authorizations for oauth commands"Jenkins2013-07-191-1/+86
|\
| * Add list and delete authorizations for oauth commandsSteve Martinelli2013-07-161-1/+86
| | | | | | | | | | | | | | | | * List user authorizations * Delete user authorization * Grouped the commands with oauth prefix Change-Id: I032ffa25181aad0fb4689f69cdca5a7adc6e29f1
* | Add --catalog to service showDean Troyer2013-07-161-23/+44
|/ | | | | | Shows endpoints from the service catalog rather than the system services. Change-Id: I842916af9f7c0a76c4d3e27e419bf0fec059ec78
* Merge "Add authenticate method to oauth code"Jenkins2013-07-151-27/+80
|\
| * Add authenticate method to oauth codeSteve Martinelli2013-07-101-27/+80
| | | | | | | | | | | | | | | | | | | | | | Forgot to add one last method when I initially checked in the first set of code; the authenticate method will return an actual keystone token that the user may now use. Also, I added some changes to other methods because the client has been updated. Change-Id: Ie2707689e0df1fb1bc92177f932baf23fe1ca920
* | Remove api = apiName calls from each methodSteve Martinelli2013-07-1216-87/+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
* Merge "Add EC2 credentials CRUD"Jenkins2013-07-081-0/+185
|\
| * Add EC2 credentials CRUDDean Troyer2013-07-031-0/+185
| | | | | | | | | | | | ec2 credentials: create, delete, list, show Change-Id: I82ff84ed433cd9a2da9534bf5f584a2e1a3fe68c
* | Merge "Finish up v3 role commands"Jenkins2013-07-053-42/+280
|\ \
| * | Finish up v3 role commandsSteve Martinelli2013-07-033-42/+280
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add remove role * Add --role to group list * Add --role to user list * Fix groups in AddRole() * Remove the tweaks to utils.find_resource for domains; will address that across domains, projects, users and groups in another patch. I want to nail down the structure of these commands and get that into place Change-Id: I8673dd8221ef88978dada5a2833c187026bdb31a
* | | Add methods for user and group interactionsSteve Martinelli2013-07-021-0/+117
| |/ |/| | | | | | | | | | | | | * Add user to group * Contains user in group * Remove user from group Change-Id: If5219fa9d4761d7b97950c39556b3e1b8aab6517
* | Add OAuth support for Identity V3Steve Martinelli2013-06-261-0/+264
|/ | | | | | | | | | | | Added client side support for: * consumer CRUD * create request token * create access token * authroize request token blueprint: delegated-auth-via-oauth Change-Id: I8d325fcab07ac4dfd124a6e55053ded8d6bf662e
* Add domain and description to user for v3 identitySteve Martinelli2013-05-171-4/+41
| | | | | | | * splitting the changes seen in 27142 to a few new patches * this one will just update v3 user to have description and domain Change-Id: I9b4c365703da27e26ddc702f37cf5928e19cebdc
* Fix flake8 errors in anticipation of flake8 patch.Monty Taylor2013-05-146-7/+14
| | | | Change-Id: Ifdc4322b699f2bd91a6900e55695acd3d736568e
* Add policy to identity v3Steve Martinelli2013-03-261-0/+186
| | | | | | | use file for data blobs add create/set/delete/show/list policy for v3 Change-Id: I5f68ef89dfb2241ea1aca00736ee6df5f6f03a9b
* Add endpoint v3 functionalitySteve Martinelli2013-03-191-0/+247
| | | | | | | | | simple rebase integrated dolphm and dtroyer comments Added create,list,delete,set,show endpoints modified setup.py Change-Id: Id6153db16db44130beb3b44a8e3e2f72e9a01e5f
* Add service v3 support for identitySteve Martinelli2013-03-191-0/+186
| | | | | | | | | simple rebase rewrite help for create, remove choices Added create/delete/list/show/set for service Modified setup.py Change-Id: I5ced0e214cc2f7fc70493c66b4381040ce8122fe
* Add functionality for add-role commandsSteve Martinelli2013-03-151-0/+81
| | | | | | | | | keep the functions sorted Please review carefully as I intend to mimic this logic with list and remove, I'm open to suggestions about handling thigs differently Change-Id: Ia6359134c44447f3b758870c4dc306ec1f970852
* Add role v3 support to identity in openstack clientSteve Martinelli2013-03-121-0/+144
| | | | | | | | Added create/delete/set/list/show support for roles Broken up to make reviewing easier. Will add more functionality (add/remove) later Change-Id: I95bddd27d8d9d251ad2fd60c3e3ee1e2cbcd7d4b
* add domain, credential to identity v3 apiSteve Martinelli2013-03-082-0/+392
| | | | | | | | | | | moved policy.py to it's own patch minor changes based on comments reworked it now that the domain specs have changed added credential - create, delete, update, show, list added domain - create, delete, update, show, list update setup.py entry points Change-Id: I6bbbb8fdfbc3e76ba75374e9579eb92c96c928fe
* Multiple API version supportDean Troyer2013-02-062-2/+249
| | | | | | | | | | | | | | | | * Use multiple entry point groups to represent each API+version combination supported * Add some tests Try it out: * Right now only '* user' commands have multiple overlapping versions; you can see the selection between v2.0 and v3 by looking at the command help output for 'tenant' vs 'project': os --os-identity-api-version=2.0 help set user os --os-identity-api-version=3 help set user Change-Id: I7114fd246843df0243d354a7cce697810bb7de62
* Upgraded to PEP8 1.3.3 to stay aligned with Nova, etc.Josh Kearney2013-01-318-261/+148
| | | | | | | | Made all the necessary changes to pass new PEP8 standards. Also cleaned up docstrings to conform to the HACKING stanards. Change-Id: Ib8df3030da7a7885655689ab5da0717748c9edbe
* Merge "Standardize on a copyright header and ensure all files have them."Jenkins2013-01-288-72/+88
|\
| * Standardize on a copyright header and ensure all files have them.Josh Kearney2013-01-248-72/+88
| | | | | | | | Change-Id: I64812bca01ca655c9cf9239a0daea84907082a29
* | v3 identity - group and project apiSteve Martinelli2013-01-284-0/+455
|/ | | | | | | | | | | updated with latest comments modified entry points in setup.py added group.py (v3) added project.py (v3) fixed indentation updated to include new headers Change-Id: Ice68b6c5bacb68d2e95321d903043056a9b8e810
* Remove incorrect 'raise'.Josh Kearney2013-01-221-2/+0
| | | | | | Fixes bug 1096102. Change-Id: Ibcdccd949566f47bb516c7562149d6b0100fce18
* Clean up test environment and remove unused imports.Josh Kearney2013-01-221-1/+0
| | | | | | First round of adding more complete unit test coverage. Change-Id: Ic1979c499ca6fcb784892a95954a3527539c4e53
* Refactor cliff.Command.run()Dean Troyer2012-06-205-80/+80
| | | | | | | * All commands now perform their action in take_action(). Those producing output are derived from DisplayCommandBase. Change-Id: Ic93ba9a2ad449d84242b6aa8624b41379c4fb79a
* Fix pep8 issues.Clark Boylan2012-06-131-1/+1
| | | | | | | | Fix several pep8 issues and pin the pep8 test to pep8 version 1.1. This should prevent future changes from being unmergable by the pep8 gate after a pep8 upgrade. Change-Id: I4678a9179579fb5c7afe795fb43a8a89a99ad717
* removing print call in roles get_dataMatt Joyce2012-05-231-1/+0
| | | | Change-Id: I2aebf6099821212d4bd4b4b6d78b9752085168b2
* Merge "Fix 'set user' command"Jenkins2012-05-221-1/+6
|\
| * Fix 'set user' commandDean Troyer2012-05-181-1/+6
| | | | | | | | | | | | | | | | | | * missing --name arguemnt in parser for SetUser() * correct Identity api call for SetUser() Fix bug 1001384 Change-Id: I51169a0585c1bfe106ddd2e390269f69fc32852c
* | Add role CRUD commandsDean Troyer2012-05-181-0/+268
|/ | | | | | * add {add|create|delete|list|remove|show|user-list} role commands Change-Id: I27129168a9f58154fcdb062a533fa926737f822f
* Add endpoint CRUD commandsDean Troyer2012-05-181-0/+226
| | | | | | * add {create|delete|list|show} endpoint commands Change-Id: Ife9fa789d5818d63288b09687b43d802b1b97858
* Clean up tenant and serverDean Troyer2012-05-161-23/+17
| | | | | | | | * remove '_' from class names * add class name to log instances * some cleanups to HACKING Change-Id: I1f6334318ee0d7d83cd3cea0e71ba4f05dd2b5c5
* Merge "Add user CRUD commands"Jenkins2012-05-161-0/+247
|\
| * Add user CRUD commandsDean Troyer2012-05-151-0/+247
| | | | | | | | | | | | | | * add {create|delete|list|set|show} user commands * fix pep8 issues Change-Id: I46fe2375b8b4f95b82d8ba31ee8fb660a067d50a
* | Update service commandsDean Troyer2012-05-151-24/+78
|/ | | | | | | * add {create|delete} service * allow 'service' arg to also search type attribute in show command Change-Id: I992359dc95fab1fbdab0666d5cbb75e44ba6e0f3
* Revise command boolean flagsDean Troyer2012-05-111-29/+54
| | | | | | | * use --enable|--disable form for boolean 'enabled' value * clean up logging strings Change-Id: Ib4016bbef1763c27ec5a9edf36b926dc0d0b265c
* Move get_client_class() to common.utilsDean Troyer2012-05-111-14/+6
| | | | | | * add constants for API_NAME Change-Id: I8ccf72f032227e0a452d96303181549b1b11a5d1
* Add tenant CRUD commandsDean Troyer2012-05-112-79/+156
| | | | | | | | | * add {create|delete|set} tenant commands * move get_XXXX_properties() to common.utils.get_item_properties() add mixed_case_fields as an optional arg Change-Id: I7b3bd9cefb08e39730886b31213cbe422b5a8453
* Add API versioning supportDean Troyer2012-05-101-3/+22
| | | | | | | | | * Specific versions supported are managed in XXXXXX.client.py with a mapping from version to client class. This is based on the scheme that is included in novaclient; none of the other client libs have that capability. Change-Id: I930b197f1189e7f52c3b0096e73e0773cf925542
* Merge "Add tenant commands, work on service"Jenkins2012-05-102-2/+183
|\
| * Add tenant commands, work on serviceDean Troyer2012-05-102-2/+183
| | | | | | | | | | | | | | * adds {list|show} tenant * fleshes out service commands (still WIP) Change-Id: I9dabb6ed3f128a30f140146928320f033d097a06
* | Add copyright notices and update datesDean Troyer2012-05-101-0/+17
|/ | | | Change-Id: I54a7d99328143205ab97ea930aeeeb69fe92c76c