summaryrefslogtreecommitdiff
path: root/openstackclient/identity/v2_0
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge "Rework role list v2 for --user and --project"Jenkins2015-01-131-2/+67
|\
| * Rework role list v2 for --user and --projectSteve Martinelli2015-01-101-2/+67
| | | | | | | | | | | | | | | | | | `os user role list` does the same as v3's `os role list`. We should rework v2's `role list` to basically call `os user role list` under the covers. Closes-Bug: #1409179 Change-Id: I9839f6be139d6a6a3f6bbf79957e218dd8e03fe3
* | Merge "Tweaks to the catalog doc and show command"Jenkins2015-01-131-1/+6
|\ \
| * | Tweaks to the catalog doc and show commandSteve Martinelli2015-01-131-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | Looks like providing a service id isn't working, so it the help message was reduced to just type and name. Added a bit more to the docs, too. Change-Id: Id7f8b48bdf99773ad55ca7f204f3c779f84633d5
* | | Merge "Fine tune some of the helps commands"Jenkins2015-01-134-8/+8
|\ \ \ | |/ /
| * | Fine tune some of the helps commandsSteve Martinelli2015-01-135-9/+9
| |/ | | | | | | | | | | | | | | | | try and add some consistency with the show and delete commands. replace 'show x' with 'display x' change 'delete a y' with just 'delete y' Change-Id: I47dfa8ee23ac5c41b355796415eb515155832f65
* | Merge "fix some small issues in catalog show"Jenkins2015-01-121-12/+7
|\ \
| * | fix some small issues in catalog showwanghong2015-01-121-12/+7
| |/ | | | | | | | | | | | | | | | | | | | | I think there are three issues we should fix: 1. wrong indentation of 'continue' 2. currently, name is optional for service, but according to the currrent logic, if a service doesn't have name attribute we will select it anyway 3. we always loop all catalogs Change-Id: I9fce66677affa396b6a12afea76e87cab9215a58
* | Command docs: add serviceDean Troyer2015-01-121-3/+3
|/ | | | | | | Co-Authored-By: Lin Hua Cheng <os.lcheng@gmail.com> Change-Id: Icd39e6d769fd4c4797fcf4ef9eb97c71ed166b3b Closes-Bug: #1404434
* Merge "Add endpoint v3 docs"Jenkins2015-01-041-20/+27
|\
| * Add endpoint v3 docsDean Troyer2015-01-021-20/+27
| | | | | | | | | | | | (update: change version description formats for API versioning) Change-Id: I499ea1d80ad6ad6392468305f761e695d7261e33
* | Merge "type should be required for v2.0 service create"Jenkins2015-01-031-8/+33
|\ \
| * | type should be required for v2.0 service createlin-hua-cheng2014-12-301-8/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updated the service name to be optional, mostly matching the cli arguments with v3 service create. Implemented the following changes on service create: - if only a single positional is present, it's a <type>. This is not currently legal so it is considered a new case. - if --type option is present the positional is handled as <name>; display deprecation message - if --name option is present the positional is handled as <type>. Making --type optional is new, but back-compatible - Made --name and --type mutually exclusive. - only '--name <service-name> <type>' shall appear in the help output Change-Id: I8fd4adba3d8cd00d5a8cacc2c494d99d492c45a3 Closes-Bug: #1404073
* | | Command docs: ec2 credentialsDean Troyer2015-01-021-6/+8
| |/ |/| | | | | | | | | Add ec2 credentials docs Change-Id: I1699d1c8e9859153557081966654646966a3268d
* | add multi-delete support for identitywanghong2014-12-233-27/+30
|/ | | | | | | | | | | | | | This is part2. Add support for these objects: identity.project(v2.0) identity.role(v2.0) identity.user(v2.0) identity.project(v3) identity.role(v3) identity.user(v3) identity.group(v3) Closes-Bug: #1400597 Change-Id: I270434d657cf4ddc23c3aba2c704d6ef184b0dbc
* Don't import form keystoneclient.openstack.commonJamie Lennox2014-12-173-3/+3
| | | | | | | | The keystoneclient.openstack.common directory is where we sync files from oslo incubator. It is not a public directory and should not be being consumed by openstackclient. Change-Id: I011bb95c2c824e2dbc4b822ca922ae77b8d9b955
* Followup for ec2 credentials command fixDean Troyer2014-12-051-0/+12
| | | | | | | | Add functional tests for 'ec2 credentials' commands. Also fix tenant_id in output for create and show. Change-Id: I6ba3249b67408571624709e17f8aa2ac6d80237d
* Fix ec2 credentials commands for new authDean Troyer2014-12-051-5/+5
| | | | | | | | These commands were not updated for the new authentication model. Closes-Bug: 1399757 Change-Id: I5d4beb9d1fa6914fef5e4c7b459cdd967e614b24
* Safely pop project parent idSteve Martinelli2014-12-041-3/+5
| | | | | | | | | Since we don't support multitenancy yet, we should just pop the parent id of a project. When keystoneclient supports mulittenancy we should bring everything in at once (CRUD), and these changes should be removed. Change-Id: I82c7c825502124a24ccdbadf09ecb2748887ca5d
* Command object docs: project, role, userDean Troyer2014-12-013-44/+55
| | | | | | | | | project role user user role Change-Id: I445e09a3ffb69114912ae562a9285963a636bfd1
* Begin copying wiki command list hereDean Troyer2014-11-191-1/+1
| | | | | | | | | | * Sort by command objects * Drop the comparison to the project CLIs * Minor updates to command help to match docs Initially include the cross-API commands to establish the structure and format. Change-Id: I77a7b3c89e088b66aa62941e29ce0b65b532285b
* Add additional support for --or-showSteve Martinelli2014-11-142-7/+38
| | | | | | | | Add --or-show for the following: * v2 roles * v2 projects Change-Id: Ibbae19cda668575b9527fbd259f1298c48b8265b
* Add --or-show option to user createDean Troyer2014-11-071-7/+23
| | | | | | | | | | | | | | | | The --or-show option is added to create commands for the common case of needing to ensure an object exists and getting its properties if it does or creating a new one if it does not exist. Note that if the object exists, any additional options that would set values in a newly created object are ignored if the object exists. FakeResource needs the __name__ attribute to fall through utils.find_resource. Prove the concept on v2 user create then propogate once we're happy with it... Change-Id: I6268566514840c284e6a1d44b409a81d6699ef99
* Remove ClientManager._service_catalogDean Troyer2014-10-181-1/+2
| | | | | | | | | | Anything that needs a service catalog can get it directly from auth_ref.service_catalog, no need to carry the extra attribute. ClientManager.get_endpoint_for_service_type() reamins the proper method to get an endpoint for clients that still need one directly. Change-Id: I809091c9c71d08f29606d7fd8b500898ff2cb8ae
* Merge "Mark identity v2 resources for translation"Jenkins2014-10-127-60/+64
|\
| * Mark identity v2 resources for translationSteve Martinelli2014-10-097-60/+64
| | | | | | | | | | | | mark v2 catalog, ec2, endpoint, project, role, service and token Change-Id: I14a5852bfee4ca9e25130d001fdadd7778ad0996
* | Add translation markers for user v2 actionsSteve Martinelli2014-10-091-20/+21
|/ | | | | | implements bp use_i18n Change-Id: I86508a232c9cf88695b7982dad0b9b02eaf8b3a1
* Merge "Add service catalog commands"Jenkins2014-09-191-0/+98
|\
| * Add service catalog commandsDean Troyer2014-09-181-0/+98
| | | | | | | | | | | | | | | | 'catalog list' and 'catalog show' for Identity v2 Identity v2 only so far. Change-Id: I9df0dac3d5bb7c18f38a81bd7d29f8119462d3a5
* | Return current user/project for user/project show commandsDean Troyer2014-09-142-17/+53
|/ | | | | | | | If non-admin user attempts 'project show' or 'user show' on the currently authenticated project or user return the information that is already in the service catalog rather than throwing a Forbidden error. Change-Id: Ieeb6eacf71a471e410fbd3c09e7871740547e890
* Use Keystone client session.SessionDean Troyer2014-09-081-2/+1
| | | | | | | | | | | | | | This replaces the restapi requests wrapper with the one from Keystone client so we can take advantage of the auth plugins. As a first step only the v2 and v3 token and password plugins are supported. This maintainis no changes to the command options or environment variables. The next steps will include reworking the other API client interfaces to fully utilize the single auth session. Blueprint: ksc-session-auth Change-Id: I47ec63291e4c3cf36c8061299a4764f60b36ab89
* user create v2.0 depends on tenantId in responseSteve Martinelli2014-08-041-3/+4
| | | | | | | | User create for v2.0 no longer always contains a tenantId in the response. Add a guard to check for tenantId first before pop'ing it. Change-Id: I428dbc26520bb86efad33768ce04f584217ad168 Closes-Bug: #1352119
* Normalize more help stringsDean Troyer2014-07-241-1/+1
| | | | Change-Id: I2b21bc904e35c1cc50da369d148e607fe3e8cf90
* Rename token classes to match commandDean Troyer2014-06-271-7/+9
| | | | | | | The token create/delete commands were renamed but not the class names. Rename them to match. Change-Id: Icbf9c0a954ed0332fa4c99e4ee2612bb11f89e3a
* Merge "Change the token verb to issue/revoke"Jenkins2014-06-181-2/+2
|\
| * Change the token verb to issue/revokeTerry Howe2014-06-181-2/+2
| | | | | | | | | | | | | | | | | | 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
* | Merge "Add token delete command for identity v2"Jenkins2014-06-181-0/+22
|\ \ | |/
| * Add token delete command for identity v2Terry Howe2014-05-231-0/+22
| | | | | | | | | | | | | | | | Identity v2 has undocumented support for token delete and keystoneclient also has support. Change-Id: Ib98d17958ceb88f7b63471691dee71fdb884ce2e Closes-Bug: #1318442
* | Merge "replace string format arguments with function parameters"Jenkins2014-06-107-30/+30
|\ \
| * | replace string format arguments with function parametersChristian Berendt2014-05-207-30/+30
| |/ | | | | | | | | | | | | | | There are files containing string format arguments inside logging messages. Using logging function parameters should be preferred. Change-Id: Ic749ac9eb55564ed631d57055a5a4dfc3aebd169
* | Fixed several typos throughout the codebaseAlex Gaynor2014-05-211-1/+1
|/ | | | Change-Id: I048ee857fc1215fea7f60978364894e1b5abdf66
* Merge "Make endpoint commands more consistent"Jenkins2014-04-232-98/+27
|\
| * Make endpoint commands more consistentTerry Howe2014-03-282-98/+27
| | | | | | | | | | | | | | | | | | | | | | | | Make endpoints more consistent across create, show, etc * Make the name option required for create * Use a common function to fetch services by id, name or type * Have show work by endpoint id or by service id, type or name * Have show display all the fields by default * Remove capability to filter queries by attribute value pairs Change-Id: Idaa4b8d930ba859fd62de777e44a10b1ed58c79b Partial-Bug: #1184012
* | Fix the project option to user list so it filtersTerry Howe2014-04-011-2/+17
| | | | | | | | | | | | | | | | | | | | The --project option to the user list command was not implemented * Allow users to be filted by project * Support id or name of project with the find_resource command * Make sure the report does not contain duplicates Change-Id: Ic0e10cccd7749d38a7d4b80bbdc68e61a660084b Closes-Bug: #1177255
* | Correct display of project/tenant id on display of credentialsChris Johnson2014-03-211-2/+4
| | | | | | | | | | | | | | | | | | This change corrects the display of ec2 credentails within the ListEC2Creds method. Added explicit headers and corrected data listt o specify tenant_id instead of project id. Change-Id: I2ea579082bee800d774f202bdc38e2d546e57e77 Closes-Bug: #1292337
* | Add ability to set key value pairs in projectsTerry Howe2014-03-061-0/+22
|/ | | | | | | | | Add supporto of extra key value pairs for projects (aka tenants) * Added option --property key=value to create and set commands * Support for versions v2 and v3 Change-Id: I84064b8b308579d1b66c83b1ed3d1a37614ec087 Closes-Bug: #1220280
* Merge "Fix some help strings"Jenkins2014-02-233-3/+3
|\
| * Fix some help stringsAndreas Jaeger2014-02-213-3/+3
| | | | | | | | | | | | | | | | | | | | This fixes some errors and inconsistencies I found reviewing the help strings: * Capitalize help strings * Add missing space between words (in multi-line strings) * Improve wording Change-Id: I2fb31ab4191c330146e31c1a9651115a6657769a
* | Add ability to prompt for passwords for user create and setTerry Howe2014-02-211-0/+17
|/ | | | | | | | | | * Add get_password method to the utilities * Add --password-prompt option * Call the get_password method if a prompt is requested * Various tests Change-Id: I1786ad531e2a2fbcc21b8bc86aac0ccd7985995a Closes-Bug: 1100116
* Merge "Remove copyright from empty files"Jenkins2014-01-231-14/+0
|\