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
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
Makes the new endpoint-* commands help text consistient with the
other keystone commands. Also removes 'nargs' from options that
require arguments.
Change-Id: Idc638883b3675cf1d30163064e58ffe761c6f08b
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
* 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
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
And add some tests for that case
Rebased after CLI changes merged
Rebased again after more bit rot discovered
Change-Id: I95fa5ab19bff1d5e884b5c3675a123b134866e21
* 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
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
* 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
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
* 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
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