summaryrefslogtreecommitdiff
path: root/keystoneclient
Commit message (Collapse)AuthorAgeFilesLines
* Update to latest openstack.common setup code.Monty Taylor2012-06-141-3/+110
| | | | Change-Id: I044447b162e97d7464e49ba7fed0d41a757a3210
* Merge "fix bug lp:936168,format output."Jenkins2012-06-071-1/+1
|\
| * fix bug lp:936168,format output.Yaguang Tang2012-06-031-1/+1
| | | | | | | | Change-Id: I361c638deec1f91db5156ea8c0c0eaacee1097aa
* | Merge "Updated Sphinx documentation"Jenkins2012-06-075-0/+33
|\ \
| * | Updated Sphinx documentationLorin Hochstein2012-06-015-0/+33
| |/ | | | | | | | | | | | | | | | | - Added examples using the API - Added API reference pages - Added docstrings to classes so they would be picked up by sphinx - Removed warning about CLI coming soon Change-Id: I6e187efe508c5ae310ec97efe4650495f958306d
* | pep8 1.1 changes and updatesJoe Heck2012-06-0111-103/+132
|/ | | | Change-Id: I8bc3582bb3f35a3d841bb1e8c03b62ba61ff92d7
* Merge "Auto generate AUTHORS for python-keystoneclient."folsom-1Jenkins2012-05-183-0/+145
|\
| * Auto generate AUTHORS for python-keystoneclient.Bhuvan Arumugam2012-05-043-0/+145
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 976267 Now that git commits are gated by CLA, we shouldn't enforce committers to add an entry in AUTHORS file. The AUTHORS file should be generated automatically, based on git commits. This commit fixes the problem. * AUTHORS Remove this file. * .gitignore Add AUTHORS file. * keystoneclient/openstack/common/setup.py generate_authors(): New method to create AUTHORS file. If AUTHORS.in file exists, append it's content to AUTHORS file. * setup.py Import the new method. Generate AUTHORS file before creating the package. * openstack-common.conf Add config file to copy libraries from openstack-common project, using update.py script. * keystoneclient/openstack/__init__.py * keystoneclient/openstack/common/__init__.py Add new placeholders. Change-Id: I1a17ee8f1e19e8ad522f0d2e37c04fffba5e16cb
* | Merge "Fix Tenant.update() for enabled=False"Jenkins2012-05-151-1/+1
|\ \
| * | Fix Tenant.update() for enabled=FalseDean Troyer2012-05-141-1/+1
| |/ | | | | | | | | | | | | Tenant.update() fails when attempting to set enabled=False due to how the test to see if it was set in the arg list is formed. Change-Id: Ibeea992c172cb9858d7201c9025f9715f98d3416
* | Merge "Change --user to --user_id and --role to --role_id in the keystone ↵Jenkins2012-05-151-30/+30
|\ \ | | | | | | | | | client for consistency."
| * | Change --user to --user_id and --role to --role_id in the keystone client ↵Everett Toews2012-05-111-30/+30
| |/ | | | | | | | | | | | | | | | | | | for consistency. Also changed an out-of-place tenant to tenant_id and removed unnecessary nargs in do_user_list. Fixes bug 994744. Change-Id: I418c07c8523f40822ca3251e85cd630ec877b45f
* | Remove printtDean Troyer2012-05-071-2/+2
|/ | | | | | | | prettyprint 0.6 removed printt at the last minute, replace with get_string Fixes bug 995811 Change-Id: Iaabe47c1ae9270d9d00f804388a1837767cb20f1
* Merge "Split user-role-list from user-list"Jenkins2012-05-031-14/+24
|\
| * Split user-role-list from user-listDolph Mathews2012-03-141-14/+24
| | | | | | | | Change-Id: Id39e178c0ec068afbf5cae2d5bba3cf2238d608e
* | Removed unused imports and variables.Josh Kearney2012-04-052-4/+2
| | | | | | | | | | | | Also fixes AUTHORS file. Previous version was copied directly from python-novaclient. Change-Id: I33654b6fe7197efbff300ebaf4892a8b53d85c54
* | Drop support for OS --tenant_id (bug 960977)Dolph Mathews2012-03-291-4/+0
| | | | | | | | Change-Id: I36849c53e1c63609fc9df7fcd1c245bb3d3a6872
* | Useful messages for missing auth data (bug 946297)Dolph Mathews2012-03-211-28/+40
| | | | | | | | Change-Id: I5afe543ff883358fddfb4c8b546de1d68415e0e3
* | Merge "Backslash continuations (python-keystoneclient)"Jenkins2012-03-214-11/+11
|\ \
| * | Backslash continuations (python-keystoneclient)Zhongyue Luo2012-03-174-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | Fixes bug #940023 Backslash continuations removal for python-keystoneclient Change-Id: I816fc39ced20bb8ba8a42d3f07a03da94a76f8ea
* | | Implement user-get based on tenant-get (bug 940272)Dolph Mathews2012-03-201-0/+7
|/ / | | | | | | Change-Id: Id679f1df068247db8f6a1f13515870488011b544
* | Merge "CLI shows help without args (bug 936398)"Jenkins2012-03-161-1/+1
|\ \ | |/ |/|
| * CLI shows help without args (bug 936398)Dolph Mathews2012-03-131-1/+1
| | | | | | | | Change-Id: If0adfc5283f725c797ee6043fbfc59a775d9b462
* | Change CLIAuth arg namesDean Troyer2012-03-141-29/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change the argument names used for common Keystone authentication per the updated http://wiki.openstack.org/CLIAuth: --auth_url -> --os_auth_url --password -> --os_password --username -> --os_username --tenant_id -> os_tenant_id --tenant_name -> os_tenant_name --region -> os_region_name All old args are depricated but available for backward compatibility. Fixes bug 954532 Change-Id: I26f8e0cf491549f5836c4079ff86e4823c0ef9a7
* | enabled treated as string (bug 953678)Dolph Mathews2012-03-142-4/+7
|/ | | | Change-Id: I897797b3fb264647c486e6c10eab8edd00eadbcc
* Merge "fix bug 950685,make update user password works"Jenkins2012-03-101-2/+2
|\
| * fix bug 950685,make update user password worksYaguang Tang2012-03-101-2/+2
| | | | | | | | Change-Id: If9c33fefdf7439cd5a6c301094b630bd541e821a
* | Merge "List roles for user on CLI (bug 932282)"Jenkins2012-03-101-2/+14
|\ \ | |/ |/|
| * List roles for user on CLI (bug 932282)Dolph Mathews2012-03-091-2/+14
| | | | | | | | Change-Id: I947d2ff74b0a131e4ecc7d696877aea4d994fe71
* | Add endpoint commands help textDean Troyer2012-03-091-21/+17
|/ | | | | | | | Makes the new endpoint-* commands help text consistient with the other keystone commands. Also removes 'nargs' from options that require arguments. Change-Id: Idc638883b3675cf1d30163064e58ffe761c6f08b
* prevent keyerrors when accessing optional keystermie2012-03-071-2/+4
| | | | | | | | | | | You used to have these in the token, why were they removed and then subsequently grabbed at? The change that added these doesn't work against keystone, btw, so I'm surprised it got in, these dict keys are not required to be in the return from service_catalog.get_token() and adding them as properties is only going to make matters worse as people rarely think about having None attributes. Change-Id: I695bbd6730d25d8db3a25cea81e3ffb0ef289bbb
* Merge "Make ec2-credentials-* commands work properly for non-admin user"Jenkins2012-03-073-10/+31
|\
| * Make ec2-credentials-* commands work properly for non-admin userDean Troyer2012-03-063-10/+31
| | | | | | | | | | | | | | | | | | | | * Add user id to token-get output * Save authenticated user and tenant IDs in client in Client._extract_service_catalog() * Handle default user and tenant IDs in ec2-credentials-* commands Fixed bug 947011 Change-Id: I97750f666ba03f32f0bb1be0c2df5ad8a321b433
* | Removed ?fresh=nonsense (bug 936405)Dolph Mathews2012-03-071-16/+0
|/ | | | Change-Id: I69f7411967ef23348854c206efc79a3cf7d3755d
* Merge "Endpoints: Add create, delete, list support"essex-4Jenkins2012-02-283-0/+80
|\
| * Endpoints: Add create, delete, list supportAdam Gandelman2012-02-273-0/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds the ability for admins to list, create and delete endpoints in the service catalog. New endpoints can be created and associated with an existing service, similar to the original Keystone. The current, file-backed templated catalog driver does not support these actions. This requires that the SQL catalog backend is merged: https://review.openstack.org/#change,4464 Update: As per discussion on above review, Remove use of OS-KSADM key, update tests accordingly. Change-Id: Ie6f219fe989327bd61e293ce100b70dbf7f6de52
* | Clean up EC2 CRUDDean Troyer2012-02-271-6/+24
|/ | | | | | | | | | | | | Fixes bug 932427 * adds ec2-credentials-get * cleans up ec2-credentials-list output * display status of 3c2-credentials-delete * add basic shell tests Rebased 27Feb2012 Change-Id: Ic06ba9e2e49bad872f9091e1830d5296b0d411aa
* Fix --tenant_id corner case with ec2-create-creds commandDean Troyer2012-02-241-2/+2
| | | | | | | | | And add some tests for that case Rebased after CLI changes merged Rebased again after more bit rot discovered Change-Id: I95fa5ab19bff1d5e884b5c3675a123b134866e21
* Merge "Help output tweaks, Vol I"Jenkins2012-02-241-5/+11
|\
| * Help output tweaks, Vol IDean Troyer2012-02-221-5/+11
| | | | | | | | | | | | | | | | | | | | | | Fixes bug 936399 and bug 936424 * Refer to 'Identiy API' rather than 'Keystone API' * 'keystone help' and 'keystone --help' now produce the same output, the list of sub-commands * updates README Change-Id: I179149807a0aa66947e4ac17ad2839a653a55888
* | Improve usability of CLI.jakedahn2012-02-234-159/+155
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fixes bug #936422 * Fixes bug #932223 * Depends on bcwaldon's review: https://review.openstack.org/#change,4305 * This review proposes making changes outlined in this spreadsheet: https://docs.google.com/spreadsheet/ccc?key=0Ak6TA47h_6fwdGZwRE5WWEJBdEhnckpMTG5RcWFjY3c#gid=0 This cleans up the CLI, normalizing commands and arguments, correcting optional and required arguments and flags. * included https://review.openstack.org/4270 here per Brian's request Note that some commands have changed names to conform to noun-verb form: user-update-password -> user-password-update add-user-role -> user-role-add remove-user-role -> user-role-remove ec2-create-credentials -> ec2-credentials-create ec2-list-credentials -> ec2-credentials-list ec2-delete-credentials -> ec2-credentials-delete token -> token-get Change-Id: I8128fa105a1b8002199211f9e475b1a7a6229b8c
* | Merge "Fix inconsistient method names and add tests"Jenkins2012-02-232-13/+13
|\ \
| * | Fix inconsistient method names and add testsDean Troyer2012-02-202-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 937104 https://review.openstack.org/3527 renamed methods in RoleManager: get_user_role_refs() -> roles_for_user() add_user_to_tenant() -> add_user_role() remove_user_from_tenant() -> remove_user_role() * Calls to old method names in Tenant and TenantManager are fixed. * Add tests for all renamed and affected methods. Change-Id: Idf569d7dd737c5ccc38b4ea8212d5336998ae0f1
* | | Move --version to --identity_api_versionBrian Waldon2012-02-211-7/+19
| |/ |/| | | | | | | | | | | | | * Default to OS_IDENTITY_API_VERSION before KEYSTONE_VERSION * Copy in 'env' function from python-novaclient hat supports multiple env var names * Fixes bug 936162 Change-Id: I3b4013408465ea45788517cb31afb7fc652e6e95
* | Remove internal '-' from flag namesDean Troyer2012-02-202-3/+3
|/ | | | | | | | Fixes bug 936400 * global --auth-url becomes --auth_url * user-create --default-tenant becomes --tenant_id Change-Id: I483bb369556f4da2a6de61a39d00a7adbe1cf12e
* Add tenant commands to cliDean Troyer2012-02-172-69/+92
| | | | | | | | | | * Adds tenant-list, tenant-get and tenant-update to keystone command * Removes tenant-enable and tenant-disable * Fixes more overlap in cli args, clean up command args, particularly removing nargs from arguments that are not optional. * Fixes bug 932235 Change-Id: I1aafec1b2a3943e0f6c86f0228ab29f181a7ffce
* Display token and service catalog for userBrian Waldon2012-02-163-3/+70
| | | | | | | * Adds commands 'token', 'catalog' and 'endpoint-get' to keystone CLI * Fixes bug 930421 Change-Id: I9eceea3bf98a5c87b122fa663c96f7119ef8d3cc
* Restores proper PUT method for user update now that KSL supports it.Gabriel Hurley2012-02-161-1/+1
| | | | Change-Id: Ifd68a9878489efa29442f1035d0393ada9c6d3ff
* Fixes user update methods.Tihomir Trifonov2012-02-153-14/+25
| | | | | | | | | | 1. Fixes the url for user update methods to reflect extension status, e.g. 'users/{user_id}/tenant' to 'users/{user_id}/OS-KSADM/tenant', as per Keystone API. 2. Fixes the update_user method, as it expects a POST instead of PUT. Change-Id: I045ca7650b2ef8969af695900da1b4f62d4da6bd
* Fix conflicts with shell args for subcommandsVishvananda Ishaya2012-02-101-15/+16
| | | | Change-Id: I48517f6b8e25268a00532d9e6fd8fed54f5317cd