summaryrefslogtreecommitdiff
path: root/openstackclient/identity
Commit message (Collapse)AuthorAgeFilesLines
* Update service clist commands for v2 and v3Dean Troyer2015-01-162-16/+16
| | | | | | | | | | | | Changes to the 'service list' commands for Identity v2 and v3: * Document support for --long * Add Description to v3 output with --long * v3 output is now (ID, Name, Type), with (Description, Enabled) added with --long * Change v2 output to match v3 output, with the absense of Enabled. * Update doc to match Closes-Bug: #1411337 Change-Id: I999e3df22f61350cdeba63bbb7d01145c2ffeeaf
* Merge "Check if service.name available before access"Jenkins2015-01-151-3/+10
|\
| * Check if service.name available before accesszhiyuan_cai2015-01-041-3/+10
| | | | | | | | | | | | | | | | | | | | | | Currently v3 endpoint commands access service.name directly, while name is not a required attribute of service. So if we associate an endpoint to a service without name, we will get an AttributeError executing v3 endpoint commands later. This patch addresses this issue by checking if service.name is available before accessing it. Change-Id: I3dd686ef02a2e21e2049a49cb55634385c2ecfaf Closes-Bug: #1406737
* | 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 "Command doc: policy"Jenkins2015-01-131-29/+34
|\ \ \
| * | | Command doc: policySteve Martinelli2015-01-121-29/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Also tweaked a bunch of the code to not show 'blob', but 'rules' instead. Change-Id: I6db798d272ff416a77f169c0e912d2096fa02504
* | | | 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-1313-20/+20
|\ \ \ \ \ | |/ / / / | | / / / | |/ / / |/| | |
| * | | Fine tune some of the helps commandsSteve Martinelli2015-01-1315-22/+22
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | 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-122-13/+25
|/ / | | | | | | | | | | | | Co-Authored-By: Lin Hua Cheng <os.lcheng@gmail.com> Change-Id: Icd39e6d769fd4c4797fcf4ef9eb97c71ed166b3b Closes-Bug: #1404434
* | Command doc: access tokenSteve Martinelli2015-01-091-9/+7
| | | | | | | | Change-Id: I1b7103e28273f0a63c7d6b6003317b9e69702b05
* | Request token authorizeSteve Martinelli2015-01-091-10/+16
| | | | | | | | | | | | Command doc and tweaks to the code Change-Id: I8f251bf9ca77f16b01a509844e79ddde82048b0d
* | Merge "Request token creation docs + tweaks"Jenkins2015-01-091-11/+32
|\ \
| * | Request token creation docs + tweaksSteve Martinelli2015-01-081-11/+32
| | | | | | | | | | | | | | | | | | | | | Added command docs, and changed request token to take in name or id of a project, and also support a domain option. Change-Id: I87363274e5b7a0c687e234f5a4bcaaf166d28840
* | | Merge "Command doc: consumer"Jenkins2015-01-091-11/+11
|\ \ \ | |/ /
| * | Command doc: consumerSteve Martinelli2015-01-081-11/+11
| | | | | | | | | | | | Change-Id: Ie687e1d7f80810106a64204828299f9d143b8d7c
* | | Merge "Allow user list to filter by project"Jenkins2015-01-081-7/+46
|\ \ \
| * | | Allow user list to filter by projectSteve Martinelli2015-01-081-7/+46
| | |/ | |/| | | | | | | | | | | | | | | | | | | Adds a --project filter to `os user list`, which really calls the role assignment manager behind the scenes. Change-Id: I57a75018f12ed3acdf8f6611b6b58bd974f91da2 Closes-Bug: #1397251
* | | Command doc: federation protocolSteve Martinelli2015-01-081-27/+39
| | | | | | | | | | | | Change-Id: I1289eb0caf31fca21c5c377cf13aebd1434a00ee
* | | Command doc: identity providerSteve Martinelli2015-01-081-18/+13
| | | | | | | | | | | | Change-Id: Ie73accfaa3d45205a2521e6e61efd16142c460b2
* | | Command doc: mappingSteve Martinelli2015-01-081-18/+21
| |/ |/| | | | | | | | | | | Also tweaked the code for `mapping set` as it was previously using cliff Show instead of cliff Command. Change-Id: I0ea1383a9f2dddf4b2f717b2aa16bbd60ab1720c
* | Merge "Add endpoint v3 docs"Jenkins2015-01-042-49/+69
|\ \ | |/ |/|
| * Add endpoint v3 docsDean Troyer2015-01-022-49/+69
| | | | | | | | | | | | (update: change version description formats for API versioning) Change-Id: I499ea1d80ad6ad6392468305f761e695d7261e33
* | Merge "Command docs: group"Jenkins2015-01-031-18/+21
|\ \
| * | Command docs: groupDean Troyer2015-01-031-18/+21
| | | | | | | | | | | | | | | | | | Fix up formatting for group command docs and help Change-Id: Icda79842d52da90d5eac2b0fdbc0d576d371378d
* | | 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
* | | | Merge "Command docs: ec2 credentials"Jenkins2015-01-021-6/+8
|\ \ \ \
| * | | | Command docs: ec2 credentialsDean Troyer2015-01-021-6/+8
| | |/ / | |/| | | | | | | | | | | | | | | | | | Add ec2 credentials docs Change-Id: I1699d1c8e9859153557081966654646966a3268d
* | | | Merge "Rename column to `default project id` for long listing v3 user"Jenkins2015-01-021-4/+9
|\ \ \ \ | |/ / / |/| | |
| * | | Rename column to `default project id` for long listing v3 userSteve Martinelli2015-01-021-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously this column was coming up as empty, since user's have a `default project id`, not just `project id`. Change-Id: I3d7f7eb600e9526b9c6cc2a8c5d6009b9100b1f5
* | | | Merge "Command docs: region"Jenkins2015-01-021-19/+19
|\ \ \ \
| * | | | Command docs: regionDean Troyer2014-12-311-19/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix up formatting fro region command docs and help Change-Id: Icf8c03da38b30fc69e7fe70f9c14aaa99881d320
* | | | | Merge "Command docs: domain"Jenkins2015-01-021-11/+13
|\ \ \ \ \ | |_|_|_|/ |/| | | |
| * | | | Command docs: domainDean Troyer2014-12-311-11/+13
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | Change the implementation of --enable|--disable on domain create and set commands to our usual style. Change-Id: I10f2b96281a114fa3cf3b001394844770b2a8632
* | | | Merge "Allow service description to be set for KS V3"Jenkins2014-12-301-0/+14
|\ \ \ \ | |/ / / |/| | |
| * | | Allow service description to be set for KS V3lin-hua-cheng2014-12-231-0/+14
| | |/ | |/| | | | | | | | | | Change-Id: Ibf84882c9a9f408268c225190436fc1a534e1017 Closes-Bug: #1404997
* | | Merge "add doc for domain command"Jenkins2014-12-301-12/+12
|\ \ \
| * | | add doc for domain commandwanghong2014-12-241-12/+12
| | | | | | | | | | | | | | | | Change-Id: I8b5575a5f27362fa375746b955e1f17a5a8b29a6
* | | | Merge "add doc for role assignment command"Jenkins2014-12-241-6/+6
|\ \ \ \
| * | | | add doc for role assignment commandwanghong2014-12-241-6/+6
| |/ / / | | | | | | | | | | | | Change-Id: I594d444b6d1ec4e72bed03394178293737f26069
* | | | add doc for group commandwanghong2014-12-241-18/+18
|/ / / | | | | | | | | | Change-Id: Iaaa0aeb42f9f940af63863f5d09011b5f7529281
* | | add multi-delete support for identitywanghong2014-12-237-69/+82
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | 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-178-8/+8
|/ | | | | | | | 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