summaryrefslogtreecommitdiff
path: root/openstackclient/identity/v3
Commit message (Collapse)AuthorAgeFilesLines
* Update service clist commands for v2 and v3Dean Troyer2015-01-161-9/+9
| | | | | | | | | | | | 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 "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 "Fine tune some of the helps commands"Jenkins2015-01-139-12/+12
|\ \ \ | |/ / |/| |
| * | Fine tune some of the helps commandsSteve Martinelli2015-01-1310-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Command docs: add serviceDean Troyer2015-01-121-10/+22
|/ / | | | | | | | | | | | | 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-041-29/+42
|\ \ | |/ |/|
| * Add endpoint v3 docsDean Troyer2015-01-021-29/+42
| | | | | | | | | | | | (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 "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-234-42/+52
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | 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-175-5/+5
|/ | | | | | | | 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
* Safely pop project parent idSteve Martinelli2014-12-041-0/+4
| | | | | | | | | 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
* Add the ability to list projects based on a userSteve Martinelli2014-12-011-2/+22
| | | | | | | Essentially performing GET /users/{user_id}/projects Change-Id: Iae6ddfc86a856fa24fbe293ec4af52ea671390f8 Closes-Bug: #1394793
* Add support for domains when deleting identity v3 resourcesSteve Martinelli2014-12-013-9/+41
| | | | | | | | | | Currently, only deleting via IDs is possible for groups, projects and users. We should have an optional --domain argument that allows for a name to be specified for the resource. (Since these are all namespaced by domains). Change-Id: I18ace3db85a3969f0b97678d432d6f8368baa9cd
* Command object docs: project, role, userDean Troyer2014-12-013-95/+95
| | | | | | | | | project role user user role Change-Id: I445e09a3ffb69114912ae562a9285963a636bfd1
* Merge "add keystone v3 region object"Jenkins2014-11-191-0/+205
|\
| * add keystone v3 region objectwanghong2014-11-181-0/+205
| | | | | | | | | | | | | | Co-Authored-By: Steve Martinelli <stevemar@ca.ibm.com> Change-Id: Ia6f607630dbf507681733c3ab3b9b7c55de30f49 Closes-Bug: #1387932
* | Merge "Add --or-show support for v3 identity resources"Jenkins2014-11-185-27/+106
|\ \
| * | Add --or-show support for v3 identity resourcesSteve Martinelli2014-11-185-27/+106
| |/ | | | | | | | | | | | | | | | | | | | | | | Add --or-show for the following: * v3 roles * v3 projects * v3 domains * v3 users * v3 groups Closes-Bug: #1390389 Change-Id: Id4ef043e5fda6be49a515eb3fe138c813c393ec9
* | Remove links from oauth consumersSteve Martinelli2014-11-131-6/+4
| | | | | | | | | | | | | | This should be the last of the v3 identity objects that return a links section upon create or show. Change-Id: I45a3b43c303bfed73950095bec8860cbea7a559c
* | Remove links from federation related commands in identity v3Steve Martinelli2014-11-133-12/+11
|/ | | | | | | | | | | We should remove the 'links' portion from the returned object for the following commands: * create/show federation protocol * create/show mapping * create/show identity provider Change-Id: I55654cce1f89de8e532f9acd8092257be33efd85
* Unscoped federated user-specific commandsMatthieu Huin2014-10-301-0/+79
| | | | | | | | | | | | A federated user can authenticate with the v3unscopedsaml plugin and list the domains and projects she is allowed to scope to. This patch introduces the new commands 'federation domain list' and 'federation project list'. Note that for these commands -and plugin- to be available, the lxml library must be installed. Change-Id: I2707b624befcfb0a01b40a094e12fd68a3ee7773 Co-Authored-By: Florent Flament <florent.flament-ext@cloudwatt.com>
* Fix token issue after auth changeupDean Troyer2014-10-201-3/+1
| | | | | | | | | | | IssueToken.take_action() was missed in updating the structure of the ClientManager. Also, TOKEN_WITH_TENANT_ID in v3 is just wrong... Closes-Bug: #1383396 Change-Id: If2dd82a26af1d743ee9df73e0c1aebce497bf22e