summaryrefslogtreecommitdiff
path: root/openstackclient
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Fix issue when displaying image_member"Jenkins2015-11-113-4/+10
|\
| * Fix issue when displaying image_memberlin-hua-cheng2015-10-233-4/+10
| | | | | | | | | | | | | | | | image_member doesn't have a _info attribute, glanceclient returns warlock object instead of a Resource object. Change-Id: If6e7c4bd404454bd6cbe8c111879c1afa1380211 Closes-Bug: #1509054
* | Merge "Add compute service delete"Jenkins2015-11-113-0/+80
|\ \
| * | Add compute service deleteAlex Schultz2015-10-163-0/+80
| | | | | | | | | | | | | | | | | | | | | | | | This change adds 'compute service delete <service>' to the openstack client. This is the equivalent of 'nova service-delete <id>' Change-Id: I69ef1cac72cbe125c2114f8e958e22350a70f367 Closes-Bug: #1503510
* | | Trivial: Fix wrong param name in comment.Tang Chen2015-11-121-1/+1
| | | | | | | | | | | | | | | | | | "volume" should be "attachments". Change-Id: I41c797f0c7cccb2727e9e6cd6424ea2f740624b7
* | | Enable "openstack server pause" command to take multiple servers.Tang Chen2015-11-091-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | Current "openstack server pause" command could only pause one server. Improve it to be able to handle more than one servers. Also improve the doc to reflect the new feature. Change-Id: I809f77f0720457c9cdc1028a70b391c75885984c Implements: blueprint cmd-with-multi-servers
* | | Merge "Allow int version numbers in the clouds.yaml"Jenkins2015-11-081-1/+1
|\ \ \
| * | | Allow int version numbers in the clouds.yamlTerryHowe2015-11-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OSC blows up if you try to use for example identity_api_version: 2 in the clouds.yaml. It will only work with a string '2'. This fixes that. Change-Id: I785d37a288126a1582464e907c7f9c9947bac27c
* | | | Merge "Use fake server name instead of id when testing "server_name" param."Jenkins2015-11-081-11/+11
|\ \ \ \
| * | | | Use fake server name instead of id when testing "server_name" param.Tang Chen2015-11-071-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "server create" command takes a server name parameter. The server id is generated by openstack. When we intended to pass a server name to the unit tests of "server create" command, we passed server id. It won't be any problem because the fake server id is also a string, but we should pass a fake server name because we have a string to fake one. Change-Id: I9944f0ea2a6c457e4fad8215a54778bca08965ab
* | | | | Merge "Change method to get the user_id"Jenkins2015-11-081-3/+3
|\ \ \ \ \
| * | | | | Change method to get the user_idxiexs2015-11-081-3/+3
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of "find_project", using "find_user" to get the user_id while the option --user is specified for "openstack volume list" Change-Id: Iea8472b7b8e709a8792a56575e00003a9cbdaa39 Closes-Bug: #1514145
* | | | | Fix a bug about "openstack server list --user"xiexs2015-11-061-1/+1
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | Fix the bug to get the right user id. Change-Id: Ie60a719a40654802772884ff94271b37aa061ac3 Closes-Bug: #1513701
* | | | Merge "Trivial: Fix wrong comment of _format_servers_list_networks()."Jenkins2015-11-051-1/+1
|\ \ \ \
| * | | | Trivial: Fix wrong comment of _format_servers_list_networks().Tang Chen2015-11-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The parameter name should be 'networks'. Change-Id: I140c3d61dccbbec40c14bd7a8f2aeac0eb24384d
* | | | | Merge "Add "server stop" command to osc."Jenkins2015-11-051-0/+25
|\ \ \ \ \
| * | | | | Add "server stop" command to osc.Tang Chen2015-11-051-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is no stop command in osc. Add it. Change-Id: Ia11a8f3b1245c884f7da442292009342d2ffde1e Implements: blueprint cmd-with-multi-servers
* | | | | | Merge "Add "server start" command to osc."Jenkins2015-11-051-0/+25
|\ \ \ \ \ \ | |/ / / / / | | / / / / | |/ / / / |/| | | |
| * | | | Add "server start" command to osc.Tang Chen2015-11-051-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is no start command in osc. Add it. Change-Id: Ic50f83413ab17c53396065aabb3f5a1506b52959 Implements: blueprint cmd-with-multi-servers
* | | | | Import the module not the classSean Perry2015-11-041-5/+5
| |/ / / |/| | | | | | | | | | | | | | | | | | | As requested during review 226922. Change-Id: Ic5222141e247ce33cf5dbee66667cee3040e1cc3
* | | | Merge "Mark arguments for 'credential' commands as required"Jenkins2015-11-043-16/+131
|\ \ \ \ | |/ / / |/| | |
| * | | Mark arguments for 'credential' commands as requiredSean Perry2015-09-303-16/+131
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to the [1], 'user_id', 'type', and 'blob' are all required arguments for 'credential set' but the code treats them as optional. Set the 'required' flag and remove logic supporting missing arguments. [1]: https://github.com/openstack/keystone-specs/blob/master/api/v3/identity-api-v3.rst#credentials-v3credentials "spec" Change-Id: I597c9616ad744385fc6dd92379feb03daec54458 Closes-Bug: #1418837
* | | | Merge "Trivial clean up: do not use plural form in command arguments."Jenkins2015-11-022-5/+5
|\ \ \ \
| * | | | Trivial clean up: do not use plural form in command arguments.Tang Chen2015-10-242-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is a general rule that we don't use plural form for the name of command arguments. But class DeleteServer() is still using "servers". So use "server instead". Change-Id: I2d76de14ec34b88547b9f728b41e9bd93b2a22c5
* | | | | Merge "Rename context.py to logs.py"Jenkins2015-10-303-36/+34
|\ \ \ \ \
| * | | | | Rename context.py to logs.pyTerry Howe2015-10-303-36/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | At one point this file contained the context for logging, but the reason for its existence is now for logging. Implements: blueprint logging-migration Change-Id: I4ba42bbef97b09d31236ac8c01b6fb23827b8bee
* | | | | | Merge "Allow debug to be set in configuration file"Jenkins2015-10-301-0/+6
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Allow debug to be set in configuration fileTerryHowe2015-10-301-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current default value for debug in cliff is False. Cloud config assumes that it was set that way on the command line and does not overlay it with the value from the configuration file. Cliff bug: https://bugs.launchpad.net/python-cliff/+bug/1483378 Change-Id: I66d82b489b2241dbcd1e1350e94259a54ce09de7
* | | | | | Merge "remove url from v3 regions"Jenkins2015-10-293-94/+9
|\ \ \ \ \ \ | |_|/ / / / |/| | | | |
| * | | | | remove url from v3 regionsSteve Martinelli2015-10-213-94/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the parameter "url" was removed from Keystone, it was only added for one release as part of an experimental support for adding service providers. BackwardsIncompatibleImpact Closes-Bug: 1506841 Change-Id: I7a62fbf1d9bfa8e6dd8d619e98c32b9860348d2e
* | | | | | Merge "Support pagination params for flavor list"Jenkins2015-10-232-6/+27
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | |
| * | | | | Support pagination params for flavor listliyingjun2015-10-212-6/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Missing 'marker' and 'limit' params for `openstack flavor list` shell command. It would be nice to have this when there are many flavors. Closes-bug: #1505874 Change-Id: I088ac5d24f0d7595f5cbce14f063e296a449eb26
* | | | | | Merge "Change Identity API default version to 3"Jenkins2015-10-211-1/+1
|\ \ \ \ \ \
| * | | | | | Change Identity API default version to 3Steve Martinelli2015-10-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Devstack now issues all v3 OSC commands for our CI, and since v3 has everything v2 has, we should be able to switch to v3. Furthermore, most OSC users were initially using OSC since they were looking to exploit v3 keystone capabilities. Change-Id: If7de86946f6dd0f148aa5f526155cccf90adfcc3
* | | | | | | Merge "Move session and fixtures to keystoneauth1"Jenkins2015-10-207-7/+7
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | |
| * | | | | | Move session and fixtures to keystoneauth1Steve Martinelli2015-10-147-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in an effort to start consuming keystoneauth1, we can move our sesssion and fixture code over to use keystoneauth1 instead of keystoneclient. Change-Id: Ibcbd588ce2e3d864f87ff1eb6e1c3c071a1e06f6
* | | | | | | Merge "Follow-on for volume list - add tests, clean help"Jenkins2015-10-195-23/+352
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | |
| * | | | | | Follow-on for volume list - add tests, clean helpDean Troyer2015-10-165-23/+352
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add volume list tests for v1 (a copy of the v2 tests) * Converts volume v2 tests to use Identity v3 so domains can be tested * Add volume list (v2) tests for new options * Re-orders volume list options (both v1 and v2) to match * MArks the new volume list (v2) options as v2-only in doc Change-Id: I2181b2c48cfde2147d7d0ef135322df8a81e7ce8
* | | | | | | Merge "Add filtering by project/user for 'openstack volume list'"Jenkins2015-10-171-5/+34
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | / | |_|_|_|_|/ |/| | | | |
| * | | | | Add filtering by project/user for 'openstack volume list'kafka2015-10-151-5/+34
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | added project, user and domain options for filtering results, also cleaned up the order to match the docs. Co-Authored-By: Steve Martinelli <stevemar@ca.ibm.com> Closed-bug: #1483976 Change-Id: I9d955094d31d4a28e215d24f7521a11c62bee8db
* | | | | Merge "Fix up object-store show commands"Jenkins2015-10-147-38/+48
|\ \ \ \ \
| * | | | | Fix up object-store show commandsSteve Martinelli2015-10-107-38/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1) Change metadata to appear under a common 'properties' key, and use the utility to format them, this applied to object, account and container. 2) Clean up container and object output, which were setting the x-container-meta-owner property, but this is metadata only for the container, so it's pointless to have, removed it. 3) Container show was showing read/write ACLs and sync stuff, but these are not being returned by my swift by default, so I moved these to be checks, so we don't clutter the output. Change-Id: Ife7521fe9c2724035b06963c118bd6016ba2f5b5
* | | | | | Mask the sensitive values in debug loglin-hua-cheng2015-10-122-4/+10
| |/ / / / |/| | | | | | | | | | | | | | | | | | | Change-Id: I0eb11a648c3be21749690f079229c8e63a678e6c Closes-Bug: #1501598
* | | | | Merge "Add test for role list --inherited"Jenkins2015-10-121-0/+33
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Add test for role list --inheritedDean Troyer2015-10-071-0/+33
| | | | | | | | | | | | | | | | | | | | Change-Id: I216ab6c8ac903720ec67870a5171ae57a8f293aa
* | | | | Merge "image set should not show the resource"Jenkins2015-10-084-25/+7
|\ \ \ \ \
| * | | | | image set should not show the resourceSteve Martinelli2015-10-064-25/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the rest of OSC set commands do not show the resource after it has been updated. unless the update fails then we report back a failure, otherwise the user should assume everything went fine. Change-Id: I2bd4188450c3853b4a1bc25f80fc9450cda32bdd
* | | | | | Merge "Evaluate --inherited in role list"Jenkins2015-10-082-0/+10
|\ \ \ \ \ \ | | |/ / / / | |/| | | |
| * | | | | Evaluate --inherited in role listRudolf Vriend2015-10-062-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the --inherited option was not being passed into keystoneclient Closes-Bug: #1502822 Change-Id: I48170dc67b23cc9b0665b1e0f38118eea952f131
* | | | | | Fix non-ascii issue with object commandslin-hua-cheng2015-10-061-13/+22
| |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Escape the container and object name whenever it is used as URL. Change-Id: I2343c1e67843ab53773b3fca6e258dc329cd9573 Closes-Bug: #1503508