Correct tenant update HTTP method.

Change-Id: I274104336f908922396c64ca0ee4ac5a7f5e2937
Merge "Correct tenant update HTTP method."
Blueprint cli-auth: common cli args

Remove os_ from internal variable names corresponding to OS_ env
variables.

Strip trailing '/' from --auth_url since server doesn't seem to
tolerate '//' in the URL path.

Fixes lp923920

Change-Id: I3e48441d63b6504fd088aa07241f66d63590d935
Allow --token and --endpoint to bypass catalog

 * allows skipping of service catalog
 * removes odd logic about password equivalence
 * also removes extra call to authenticate

Change-Id: I5c0979107da99593b4ce8eb16c9695ba530da095
Fix conflicts with shell args for subcommands

Change-Id: I48517f6b8e25268a00532d9e6fd8fed54f5317cd
Use unittest2 instead of unittest.

This allows the test to run on RHEL 6.2
and python 2.6.

Fixed bug 933076

Change-Id: Idb026114ac1813266d77a70d13b0c3b9467f5199
Fixes user update methods.

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
Add license file to the tarball

Change-Id: Ic291ba96defe44368c0e78c877c2258fb0f64fbc
Merge "Fixes user update methods."
Restores proper PUT method for user update now that KSL supports it.

Change-Id: Ifd68a9878489efa29442f1035d0393ada9c6d3ff
Display token and service catalog for user

* Adds commands 'token', 'catalog' and 'endpoint-get' to keystone CLI
* Fixes bug 930421

Change-Id: I9eceea3bf98a5c87b122fa663c96f7119ef8d3cc
Add tenant commands to cli

* 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
Added condition requirement to argparse

Change-Id: Ibffdcbd3ed7e2c2e982023455d60d10a6001ff23
Fix inconsistient method names and add tests

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
Remove internal '-' from flag names

Fixes bug 936400
* global --auth-url becomes --auth_url
* user-create --default-tenant becomes --tenant_id

Change-Id: I483bb369556f4da2a6de61a39d00a7adbe1cf12e
Move --version to --identity_api_version

* 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
Help output tweaks, Vol I

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
Merge "Fix inconsistient method names and add tests"
Merge "Use unittest2 instead of unittest."
Improve usability of CLI.

  * 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