10 Commits

Author SHA1 Message Date
jakedahn
2a1c94a753 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
2012-02-23 16:28:38 -06:00
Gabriel Hurley
0414cf1ef2 Restores proper PUT method for user update now that KSL supports it.
Change-Id: Ifd68a9878489efa29442f1035d0393ada9c6d3ff
2012-02-16 11:56:59 -08:00
Tihomir Trifonov
a1f927e899 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
2012-02-15 15:56:03 -08:00
Jenkins
04c03752f5 Merge "Updates client to work with keystone essex roles API routes." 2012-01-30 19:56:28 +00:00
Jenkins
d497e65e67 Merge "Enabling/disabling users should use OS-KSADM extension (bug 922394)" 2012-01-30 19:52:09 +00:00
Gabriel Hurley
2914c2b1d1 Updates client to work with keystone essex roles API routes.
Also adds pep8 to requirements since it was missing, and adds the
automatically-created venv to the gitignore list.

Change-Id: Iafa05c1889d7706b79d0f9392a9ac24f2f5a1719
2012-01-28 18:43:19 -08:00
Dolph Mathews
deb3d99985 Enabling/disabling users should use OS-KSADM extension (bug 922394)
Change-Id: I11bf244ea123092df2f0ae8e0e7c9196e3cd1e2c
2012-01-27 10:09:10 -06:00
Anthony Young
d29168fa3f Add limit and marker to user_list and tenant_list
* This will ultimately enable seeing more than 10 users/tenants at a
   time in horizon :)

Change-Id: I54ab6305746a16fda8e57c9c67c48ea2d6b906c6
2012-01-26 16:14:48 -08:00
Joe Heck
e2d98e5844 pep8 cleanup 2011-11-10 08:51:12 -08:00
Gabriel Hurley
17f6b83ee6 Initial commit. 2011-10-25 16:50:08 -07:00