summaryrefslogtreecommitdiff
path: root/openstackclient
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Enable "openstack server unlock" command to take multiple servers."Jenkins2015-11-171-6/+8
|\
| * Enable "openstack server unlock" command to take multiple servers.Tang Chen2015-11-131-6/+8
| | | | | | | | | | | | | | | | | | Current "openstack server unlock" command could only unlock one server. Improve it to be able to handle more than one servers. Also improve the doc to reflect the new feature. Change-Id: Ibf57b2021a504da950a491d63139a438087aed0b Implements: blueprint cmd-with-multi-servers
* | Merge "Enable "openstack server lock" command to take multiple servers."Jenkins2015-11-161-6/+8
|\ \ | |/
| * Enable "openstack server lock" command to take multiple servers.Tang Chen2015-11-131-6/+8
| | | | | | | | | | | | | | | | | | Current "openstack server lock" command could only lock one server. Improve it to be able to handle more than one servers. Also improve the doc to reflect the new feature. Change-Id: Ifcf103b1c32e6c547ac09f688b887b1c03f92b09 Implements: blueprint cmd-with-multi-servers
* | Merge "Enable "openstack server unpause" command to take multiple servers."Jenkins2015-11-161-6/+8
|\ \ | |/
| * Enable "openstack server unpause" command to take multiple servers.Tang Chen2015-11-131-6/+8
| | | | | | | | | | | | | | | | | | Current "openstack server unpause" command could only unpause one server. Improve it to be able to handle more than one servers. Also improve the doc to reflect the new feature. Change-Id: I069ebdd6dcd121f6e55c2bf40d42197f93830e0c Implements: blueprint cmd-with-multi-servers
* | Merge "better format remote IDs for identity providers"Jenkins2015-11-153-10/+15
|\ \
| * | better format remote IDs for identity providersSteve Martinelli2015-11-123-10/+15
| |/ | | | | | | | | | | | | | | | | remote-ids are a list, and we should format these values as such, rather than python representations of lists/arrays. Closes-Bug: 1478995 Change-Id: Ia6ced0fab2435b8cb486822c676c0dee32613abe
* | Merge "Improve "server list" command to have the same output as "nova list"."Jenkins2015-11-131-2/+43
|\ \
| * | Improve "server list" command to have the same output as "nova list".Tang Chen2015-11-141-2/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "nova list" will also output "Task State" and "Power State" by default. This patch improves "server list" command to have the same columns, but not by default. These two columns will be output if --long is added. The power state is an int, so also adds a formatter helper function to translate it to human readable string, just as "Networks" does. Change-Id: I0530a910bec03835839a5ba7687c66d5643338f3
* | | Merge "Split the vol_id from a dev mapping"Jenkins2015-11-133-4/+94
|\ \ \
| * | | Split the vol_id from a dev mappingxiexs2015-11-113-4/+94
| | |/ | |/| | | | | | | | | | | | | | | | Add a split into the dev mapping to get the right vol_id. Change-Id: I1a7bf6351491b1321c5ca0fa4a27f29825400eaf Closes-Bug: #1514394
* | | Add capability to update description of an IdPlin-hua-cheng2015-11-122-2/+59
| |/ |/| | | | | | | Change-Id: I854067642bbfde6fdf84b22b9cc1de8afc7767c0 Closes-Bug: #1515815
* | Merge "validate non-ascii values for swift properties"Jenkins2015-11-122-0/+16
|\ \
| * | validate non-ascii values for swift propertiesSteve Martinelli2015-11-122-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | skip properties that are non-ascii values, but proceed with properties that work. log these failed values back to the user. Change-Id: Iaca8909f4465a01c8aebfd290b1a322823702359 Closes-Bug: 1503898
* | | Merge "Trivial: Fix wrong param name in comment."Jenkins2015-11-121-1/+1
|\ \ \
| * | | Trivial: Fix wrong param name in comment.Tang Chen2015-11-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | "volume" should be "attachments". Change-Id: Id1e9a733e18db595d8981b5b3a7735313a346787
* | | | Merge "Add project-name/-id validation for the OSC "openstack quota set""Jenkins2015-11-122-10/+31
|\ \ \ \ | |/ / / |/| | |
| * | | Add project-name/-id validation for the OSC "openstack quota set"xiexs2015-11-042-10/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The quota info would be set into DB, even though the project actually does not exist. This patch tried to add a validation to forbid this undesirable behavior. Change-Id: Ia2d8c96527820e25b074e6486d3f39c5ad7eae60 Closes-Bug: #1512638
* | | | Merge "Fix the bug of "openstack console log show""Jenkins2015-11-123-0/+72
|\ \ \ \ | |_|_|/ |/| | |
| * | | Fix the bug of "openstack console log show"xiexs2015-11-093-0/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The behaviors are inconsistent while different negative line numbers specified. Change-Id: I2573f3e789f5603c896758971830ffc0b94c5e2b Closes-Bug: #1512263
* | | | Merge "Set default network api to 2.0 instead of 2"Jenkins2015-11-121-1/+3
|\ \ \ \
| * | | | Set default network api to 2.0 instead of 2Monty Taylor2015-11-091-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | neutronclient expects 2.0 as the version if you go through the discovery constructor. For that reason, 2.0 is the 'correct' version to set in config files or environment variables for if you're using things that are not OSC. However, if you do that, OSC prints a warning that 2.0 is not in the supported network version list. Let's support both so that users don't get a confuse. Change-Id: I7412519693f75fcd29f5621ce9e5a2df2da92684
* | | | | Merge "Add --owner to `image create`"Jenkins2015-11-122-5/+11
|\ \ \ \ \
| * | | | | Add --owner to `image create`NiallBunting2015-11-062-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds --owner to `image create`. This is backwards compatable with v1. Change-Id: I9e79cf880c91a1386419db729818d23dfe632179 Depends-On: I8d572a070bbb04dccdd051b8e0ad199c5754746e
* | | | | | Merge "Fix the bug of "openstack usage show""Jenkins2015-11-111-4/+12
|\ \ \ \ \ \
| * | | | | | Fix the bug of "openstack usage show"xiexs2015-11-021-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When there is no resouce usage associated with the project, an odd output will be displayed. This patch tried to fix this issue. Change-Id: I6f254c6ba37fbb760ada08e640c4938668d560dc Closes-Bug: #1512220
* | | | | | | 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
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | |