summaryrefslogtreecommitdiff
path: root/openstackclient
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Add optional arguments to volume list commandSteve Martinelli2013-03-111-2/+32
| | | | | | | | | | | | | | | | | | Added --name, --all-tenants, and --status as search params Change-Id: Ibaa2a7f6862c2ff7dbe24f6bea971db3e70bc120
* | | Added compute hypervisor support.Josh Kearney2013-03-111-0/+84
| | | | | | | | | | | | Change-Id: Ib8109550b06d152773394a1d15f6202b9f9b029c
* | | Merge "Turn down requests logging level"Jenkins2013-03-111-0/+7
|\ \ \ | |/ / |/| |
| * | Turn down requests logging levelDean Troyer2013-03-091-0/+7
| | | | | | | | | | | | | | | | | | | | | Looks like the default is INFO, we don't need to see that unless --debug is specified. Change-Id: Ieee5d4dc5102f11536ecc6330461f86101811f9e
* | | Add force-delete option for volumesSteve Martinelli2013-03-091-2/+12
|/ / | | | | | | | | | | | | | | | | Again, looking thorouhgly through cinders commands, i noticed an force-delete command, which was for volumes only. Decided it would work best as an optional argument for the regular delete case Change-Id: I9de6040ea0ad71c2a9c8edc7be18779d39e7ede0
* | Merge "add domain, credential to identity v3 api"Jenkins2013-03-082-0/+392
|\ \
| * | add domain, credential to identity v3 apiSteve Martinelli2013-03-082-0/+392
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | moved policy.py to it's own patch minor changes based on comments reworked it now that the domain specs have changed added credential - create, delete, update, show, list added domain - create, delete, update, show, list update setup.py entry points Change-Id: I6bbbb8fdfbc3e76ba75374e9579eb92c96c928fe
* | | Merge "Add compute hosts support."Jenkins2013-03-081-0/+83
|\ \ \ | |_|/ |/| |
| * | Add compute hosts support.Josh Kearney2013-03-061-0/+83
| | | | | | | | | | | | Change-Id: I51c443512a82729564b76e6f835195ff193232d2
* | | Merge "Add volume support for openstack client"Jenkins2013-03-081-0/+216
|\ \ \ | |_|/ |/| |
| * | Add volume support for openstack clientSteve Martinelli2013-03-071-0/+216
| |/ | | | | | | | | | | | | | | | | fix with dtroyer's comments rebase fix with dhellmann's comments create/list/delete/show/set for volume commands Change-Id: Id8236685d815dbf73873bab2363d82274a9aa556
* | Merge "Clean up args and help strings in server commands"Jenkins2013-03-081-9/+9
|\ \
| * | Clean up args and help strings in server commandsDean Troyer2013-03-061-9/+9
| | | | | | | | | | | | | | | | | | | | | Help string corrections and align args with wiki at https://wiki.openstack.org/wiki/UnifiedCLI/Mapping#server Change-Id: Ifd6f587d383534142003277e64532f77ecb37106
* | | Merge "Change create flavor to use default arguments"Jenkins2013-03-081-22/+26
|\ \ \ | |_|/ |/| |
| * | Change create flavor to use default argumentsDean Troyer2013-03-061-22/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | Most of the arguments required by the create flavor API can have reasonable defaults and therefore can be made optional in the CLI. This brings create flavor in line with the documented args in the wiki at https://wiki.openstack.org/wiki/UnifiedCLI/Mapping#flavor Change-Id: Iecb3baf72f9dc3981742ff7989780894e37921c9
* | | Add metadata support for volume typeSteve Martinelli2013-03-051-0/+67
| |/ |/| | | | | | | | | | | rebase added set and unset metadata Change-Id: I8d969e1de305975d7c71a0bad3a62b15f423c3e0
* | Merge "Added compute service support."Jenkins2013-03-051-0/+111
|\ \
| * | Added compute service support.Josh Kearney2013-03-051-0/+111
| |/ | | | | | | Change-Id: I548e35396534b5498f31a45c752984f6d33357c3
* | Add quota v1 support for volumeSteve Martinelli2013-03-041-0/+113
|/ | | | | | | | added dhellmann's suggestions created entry points in setup.py added show/set/list quotas for v1 volume Change-Id: I8ed6a9518007b31cafeaa70a54d5bf54a549195b
* Merge "Added compute flavor support."Jenkins2013-03-011-0/+186
|\
| * Added compute flavor support.Josh Kearney2013-02-281-0/+186
| | | | | | | | Change-Id: Idb1eb2f838074ce5fb3d4aa7b72fd747ac6915c7
* | Remove underscore.Josh Kearney2013-02-251-1/+1
|/ | | | Change-Id: Iaf2791b96e81d6a0d4846adb3128e4dff61faf30
* Merge "Added compute agent support."Jenkins2013-02-221-0/+168
|\
| * Added compute agent support.Josh Kearney2013-02-201-0/+168
| | | | | | | | Change-Id: I818a2ea51a773f50da385cbdd71771a4ac923bd7
* | Correct the version mapping to image service.Josh Kearney2013-02-192-3/+3
|/ | | | | | This was preventing image support from being activated. Change-Id: I1b7ab9174b90c55423b244ca63402d33b4411a49
* Add Cinder API V1 SupportSteve Martinelli2013-02-086-0/+178
| | | | | | | | | | | | | made the changes suggested by dtroyer added client modified setup.py entry points updated pip required added support for create/delete/list volume types openstack list type openstack create type typeName openstack delete type typeNameOrId Change-Id: I43655de151582e37f14dc9550151a66db7a009ab
* Multiple API version supportDean Troyer2013-02-064-11/+354
| | | | | | | | | | | | | | | | * Use multiple entry point groups to represent each API+version combination supported * Add some tests Try it out: * Right now only '* user' commands have multiple overlapping versions; you can see the selection between v2.0 and v3 by looking at the command help output for 'tenant' vs 'project': os --os-identity-api-version=2.0 help set user os --os-identity-api-version=3 help set user Change-Id: I7114fd246843df0243d354a7cce697810bb7de62
* Upgraded to PEP8 1.3.3 to stay aligned with Nova, etc.Josh Kearney2013-01-3117-490/+298
| | | | | | | | Made all the necessary changes to pass new PEP8 standards. Also cleaned up docstrings to conform to the HACKING stanards. Change-Id: Ib8df3030da7a7885655689ab5da0717748c9edbe
* Copy cfg and iniparser from oslo-incubatorDean Troyer2013-01-302-0/+1861
| | | | | | | https://review.openstack.org/20753 introduced tools/install_venv_common.py but not it's dependencies openstack.common.{cfg,iniparser} Change-Id: I270a1d8f6fd8f93988a5e2ccbc446adda0a6cd81
* Use install_venv_common.py from oslo.Josh Kearney2013-01-291-3/+17
| | | | | | | This syncs install_venv_common.py from oslo and reworks the tools/install_venv.py script to use the new library. Change-Id: I3426a7f51b0018e074cc6f4b1d70b38e52464a38
* Merge "Use the cliff framework's ShowOne as intended for `show image`."Jenkins2013-01-281-18/+15
|\
| * Use the cliff framework's ShowOne as intended for `show image`.Josh Kearney2013-01-241-18/+15
| | | | | | | | | | | | | | Also reformat code to follow newer PEP8 version. Full cleanup and PEP8 version bump coming in later patch. Change-Id: Ida3dd9a89660b9c4a91449846dd2d6e223ef187a
* | Merge "Sync latest openstack-common updates."Jenkins2013-01-281-125/+84
|\ \
| * | Sync latest openstack-common updates.Josh Kearney2013-01-241-125/+84
| |/ | | | | | | Change-Id: I09adc9b5c01aa97ffba58dff8a696172e8654e3e
* | Merge "Standardize on a copyright header and ensure all files have them."Jenkins2013-01-2824-170/+254
|\ \
| * | Standardize on a copyright header and ensure all files have them.Josh Kearney2013-01-2424-170/+254
| |/ | | | | | | Change-Id: I64812bca01ca655c9cf9239a0daea84907082a29
* | v3 identity - group and project apiSteve Martinelli2013-01-284-0/+455
|/ | | | | | | | | | | updated with latest comments modified entry points in setup.py added group.py (v3) added project.py (v3) fixed indentation updated to include new headers Change-Id: Ice68b6c5bacb68d2e95321d903043056a9b8e810
* Remove incorrect 'raise'.Josh Kearney2013-01-221-2/+0
| | | | | | Fixes bug 1096102. Change-Id: Ibcdccd949566f47bb516c7562149d6b0100fce18
* Clean up test environment and remove unused imports.Josh Kearney2013-01-227-11/+0
| | | | | | First round of adding more complete unit test coverage. Change-Id: Ic1979c499ca6fcb784892a95954a3527539c4e53
* Adds Glance API v2 support.Josh Kearney2013-01-165-2/+154
| | | | Change-Id: Ib0325e62a7e50aa94e852a73f9a2cb95daa8d5f6
* Fixes setup compatibility issue on WindowsAlessandro Pilotti2012-11-051-39/+63
| | | | | | | | | | | Fixes Bug #1052161 "python setup.py build" fails on Windows due to a hardcoded shell path: /bin/sh setup.py updated using openstack-common/update.py Change-Id: I33d38e0f96b6d124248c4a31959952d61cf1eb16
* Update compute client bitsDean Troyer2012-09-052-36/+559
| | | | | | | * add server create, delete, pause, reboot, rebuild resume, suspend, unpause commands Change-Id: I728ec199e4562bd621c3a73106c90d8b790b459a
* Keyring support for openstackclient.Bhuvan Arumugam2012-08-152-0/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 1030440 If password is defined in keyring, use it; otherwise, prompt for the password. Keying is configured using command line switch, --os-use-keyring or env(OS_USE_KEYRING). * openstackclient/common/openstackkeyring.py The abstract class for keyring, specifically for openstack. The class is used to store encrypted password in keyring, without prompting for keyring password. The encrypted password is stored in ~/.openstack-keyring.cfg file. * openstack-common.py Update openstackkeyring library from openstack.common. * openstackclient/shell.py OpenStackClient.build_option_parser(): New boolean argument, --os-use-keyring, default to env(OS_USE_KEYRING). OpenStackClient.authenticate_user(): Get password from keyring, if it is defined; otherwise, prompt for the password. If user enter a password and keyring is enabled, store it in keyring. OpenStackClient.init_keyring_backend(): New method to define openstack backend for keyring. OpenStackClient.get_password_from_keyring(): New method to get password from keyring. OpenStackClient.set_password_in_keyring(): New method go set password in keyring. * toos/pip-requires Define keyring and pycrypto as one of dependent. Change-Id: I36d3a63054658c0ef0553d68b38fefbc236930ef
* Merge "If no password in env or command line, try prompting."Jenkins2012-07-051-3/+15
|\
| * If no password in env or command line, try prompting.Ken Thomas2012-06-291-3/+15
| | | | | | | | | | | | | | | | | | | | | | Implements blueprint password-prompt This logic was recently added to keystone as a short term fix. The long term fix is to have that same logic here. Basically, if no password is present in the env or command line and there's a tty available for us to prompt, then attempt to use getpass. Change-Id: Ia0eec800b96c8f6ca1c2540e21e0e03c3880c713
* | Add read_versioninfo method.Monty Taylor2012-06-261-4/+17
|/ | | | Change-Id: Iba12b260a30cc1311967a833e26eaeb9bf3afb47
* Add post-tag versioning.Monty Taylor2012-06-251-22/+206
| | | | Change-Id: I98e5f7aa788b1ab1a866b21e0a17a63b8d5efae3
* Refactor cliff.Command.run()Dean Troyer2012-06-206-87/+87
| | | | | | | * All commands now perform their action in take_action(). Those producing output are derived from DisplayCommandBase. Change-Id: Ic93ba9a2ad449d84242b6aa8624b41379c4fb79a
* Fix pep8 issues.Clark Boylan2012-06-132-4/+4
| | | | | | | | Fix several pep8 issues and pin the pep8 test to pep8 version 1.1. This should prevent future changes from being unmergable by the pep8 gate after a pep8 upgrade. Change-Id: I4678a9179579fb5c7afe795fb43a8a89a99ad717
* minor fixesMatt Joyce2012-05-291-1/+1
| | | | Change-Id: Ib5601e1a932e0bfaa0341909416415d1e81ee915