summaryrefslogtreecommitdiff
path: root/keystoneclient
Commit message (Collapse)AuthorAgeFilesLines
* Merge "splitting http req and resp logging also some pep8 cleanup in shell.py"Jenkins2012-08-232-11/+18
|\
| * splitting http req and resp loggingJoe Heck2012-08-232-11/+18
| | | | | | | | | | | | also some pep8 cleanup in shell.py Change-Id: I71aa2586a0196c0a6ba64b892b56c9d221bdcc1d
* | Change underscores in new cert options to dashesDean Troyer2012-08-221-4/+13
|/ | | | | | | | | | | | * --os_cacert -> --os-cacert * --os_cert -> --os-cert * --os_key -> --os-key * OS_CA_CERT didn't match --os-cacert, change to OS_CACERT Fixes bug 1040162 Change-Id: Ib03ff492b6ab2b76e54974e5436a444725615ea6
* Add '--insecure' commandline argument0.1.2Sascha Peilicke2012-07-202-3/+15
| | | | | | | | | | Allows to ignore validation errors that typically occur with self-signed SSL certificates. Making this explicit is important as one would typically only use this in development or in-house deployments. This should also fix bug 1012591. Change-Id: I1210fafc9257648c902176fbcfae9d47e47fc557
* If no password in env or command line, try promptingKen Thomas2012-07-101-3/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | Implements keystone portion of blueprint prompt-for-password For security reasons, having the password on the command line or in the environment is an issue for us. (See the blueprint for details.) This change will simply make one attempt to prompt for a password if (1) nothing was specified already and (2) there's a tty available for the user to respond on. If we don't get a password, then the existing error will be raised. Remoted getpass from pip-requires, it's in the std lib Tweaked a comment Tweaked error message Don't catch Ctl-C Fix import to match conventions Missed a tweak during the rebase. Added suggested password prompt Change-Id: I54bca2397da7bd366f7ac503e767b109efc093e7
* add keystone bash-completionDominik Heidler2012-07-061-0/+28
| | | | Change-Id: I84d3897fc056d411fdaaee301465c72e20a66ff8
* Support 2-way SSL with Keystone server if it is configured to enforceLiem Nguyen2012-07-033-5/+52
| | | | | | | 2-way SSL. See also https://review.openstack.org/#/c/7706/ for the corresponding review for the 2-way SSL addition to Keystone. Change-Id: If0cb46a43d663687396d93604a7139d85a4e7114
* Merge "Don't call PrettyTable add_row with a tuple."Jenkins2012-07-031-1/+1
|\
| * Don't call PrettyTable add_row with a tuple.Dan Prince2012-06-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updates the print_dict function in utils.py so that it doesn't try to append a tuple with add_row. According to pydoc add_row should get passed a list (not a tuple): Arguments: row - row of data, should be a list with as many elements as the table has fields This fixes a TypeError which can occur with the existing code: TypeError: can only concatenate list (not "tuple") to list Fixes LP Bug #1019409. Change-Id: I16f745afa872106c3bc44c33d88db2a5aacd776c
* | Merge "Change CLI options to use dashes"Jenkins2012-07-032-29/+62
|\ \ | |/ |/|
| * Change CLI options to use dashesDean Troyer2012-06-282-29/+62
| | | | | | | | | | | | | | | | | | | | Change documented options to use dashes instead of underscores in option names. Continue to support old underscore names for backward compatibility for a release or two (TBD). Blueprint: command-options Change-Id: Ied0d325a9fdd32f80bf8c993887e1975aa6adf16
* | Merge "Do not display None in pretty tables for fields with no value"Jenkins2012-06-291-1/+6
|\ \ | |/ |/|
| * Do not display None in pretty tables for fields with no valueVincent Untz2012-06-261-1/+6
| | | | | | | | | | | | | | | | | | Fields that are present but unset in a backend (like the email field for a user created with no email in the KVS backend with the keystone command line) will appear as "None" when listed, instead of as an empty field. Change-Id: I86dc0a204847518e61ba9f6f46d4637d897cfac1
* | Add post-tag versioning.0.1.1Monty Taylor2012-06-261-24/+109
|/ | | | Change-Id: Ic6cff31681b77e865ea0f1715e882cf7f191f7cd
* Drop support for legacy OS args0.1.0Dolph Mathews2012-06-211-30/+0
| | | | Change-Id: If37778e6bb8c34d88974f2dbf22207110a3dea1a
* Merge "Skip argparse when injecting requirements."Jenkins2012-06-211-0/+5
|\
| * Skip argparse when injecting requirements.Monty Taylor2012-06-201-0/+5
| | | | | | | | | | | | | | | | | | | | Python 2.7 doesn't need argparse. Although pip installs are fine installing it, listing the requirement in install_requires causes havoc for distro installs which do not explicitly install argparse for 2.7 as a package. Fixes bug 1013953 Change-Id: I0275d02e15c8fd2e63b88213ac32f6dd18e2fd26
* | Merge "Require service_id for endpoint-create (bug 987457)"Jenkins2012-06-201-1/+1
|\ \ | |/ |/|
| * Require service_id for endpoint-create (bug 987457)Dolph Mathews2012-04-231-1/+1
| | | | | | | | Change-Id: I6568fcee740fb497afe8f3fd824c7c93dfc8304d
* | 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