summaryrefslogtreecommitdiff
path: root/openstackclient/compute/v2
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 "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-131-4/+11
|\ \ \ | |/ / |/| |
| * | Split the vol_id from a dev mappingxiexs2015-11-111-4/+11
| |/ | | | | | | | | | | | | Add a split into the dev mapping to get the right vol_id. Change-Id: I1a7bf6351491b1321c5ca0fa4a27f29825400eaf Closes-Bug: #1514394
* | Merge "Fix the bug of "openstack console log show""Jenkins2015-11-121-0/+2
|\ \ | |/ |/|
| * Fix the bug of "openstack console log show"xiexs2015-11-091-0/+2
| | | | | | | | | | | | | | | | The behaviors are inconsistent while different negative line numbers specified. Change-Id: I2573f3e789f5603c896758971830ffc0b94c5e2b Closes-Bug: #1512263
* | 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 "Add compute service delete"Jenkins2015-11-111-0/+22
|\ \ \
| * | | Add compute service deleteAlex Schultz2015-10-161-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | 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
* | | 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
* | | | 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
* | | | 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
* | | Trivial clean up: do not use plural form in command arguments.Tang Chen2015-10-241-2/+2
| |/ |/| | | | | | | | | | | | | 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
* | Support pagination params for flavor listliyingjun2015-10-211-1/+12
|/ | | | | | | | 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
* Add ID column to compute service listAlex Schultz2015-10-061-0/+1
| | | | | | | | | This change adds the ID to the compute service list command so that the ID can be leveraged by scripts trying to remove or update a specific service. Change-Id: I446b4c0071988133195eb2382313b3918b7ffa72 Closes-Bug: #1503430
* Merge "Use a common decorator to log 'take_action' activation"Jenkins2015-09-118-37/+37
|\
| * Use a common decorator to log 'take_action' activationJoshua Harlow2015-09-018-37/+37
| | | | | | | | | | | | | | | | | | Instead of duplicating the same log statement throughout the code, the same logic can be provided by a shared decorator that abstracts away the logging capability and unifies it behind a common function instead. Change-Id: Icc63bced7347c8bbf0299a4c5821425a10892a79
* | Merge "Add filtering by user for 'openstack server list'"Jenkins2015-09-101-1/+16
|\ \
| * | Add filtering by user for 'openstack server list'kafka2015-09-081-1/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a new option to search by user when listing servers, include support for domain scoped users, also update docs Co-Authored-By: Steve Martinelli <stevemar@ca.ibm.com> Closes-Bug: #1483974 Change-Id: Ifdade6dc9ca8400fbd85f6b55793ab15ed17b97d
* | | Merge "Add support for listing servers of other projects"Jenkins2015-09-101-0/+18
|\ \ \ | |/ /
| * | Add support for listing servers of other projectsAshish Singh2015-09-081-0/+18
| |/ | | | | | | | | | | | | | | | | | | Added project and project-domain option to server list command for listing servers based on project name or id Co-Authored-By: Steve Martinelli <stevemar@ca.ibm.com> Change-Id: Iaadfffe734ad8a72fa4b1eeb2222748c66f7fae0 Closes-Bug: #1488486
* | Properly handle port arguments for ICMPDean Troyer2015-09-031-4/+7
| | | | | | | | | | | | | | | | | | | | The Compute API requires 'from_port' and 'to_port' to be -1 for ICMP security group rules. It happily accepts them empty or None but the resulting rules do not work. So we force the values for ICMP rules. Closes-bug: #1477629 Change-Id: Iba57211014caca16be7c9a28d15d4db2a6c51b8d
* | Ignore flavor and image find errors on server showTerryHowe2015-08-281-4/+10
|/ | | | | | | | | | If there is an error finding an image or a flavor during image show, ignore it and just print the id of the flavor or image. This code is also used during server create and server rebuild, but only to display the results. Change-Id: I5362158ab8ffc3e5a0800904d6ea15420c3a8627 Closes-bug: #1489901
* Making --property as required when openstack flavor unsetjiaxi2015-07-181-0/+1
| | | | | | | | When using openstack flavor unset, the --property is needed, so the --property should be a required parameter. Close-Bug: #1474237 Change-Id: Id6913e1b263eddeb5dd44c3edb957206b68f816c
* Merge "Show which aggregate a hypervisor is member of"Jenkins2015-07-131-0/+23
|\
| * Show which aggregate a hypervisor is member ofDavid Moreau Simard2015-07-021-0/+23
| | | | | | | | | | | | | | | | | | This adds support for showing which host aggregates a hypervisor is member of, if any. It supports hypervisors with or without nova cells. Closes-bug: #1470875 Change-Id: I0cfe4f15fa8f8ba0be3295b79cd438998893114c
* | Fix address parsing for server ssh commandTerryHowe2015-07-081-15/+37
|/ | | | | | | | | There seem to be three formats for the server address field and the old code only supported the old format. This code adds a parser for all three formats. Change-Id: I7f12d2c69ff70556907ea6f31a0e0bba91b68b49 Closes-Bug: #1469843
* Merge "Fix security group list command"Jenkins2015-06-031-1/+1
|\
| * Fix security group list commandTerryHowe2015-06-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Security group list command tries to get a project list and this may fail with a multitude of exceptions including but not limited to 401, 404, ConnectionRefused and EndpointNotFound. Rather than try to capture every possibility, this patch just catches the base class. Converting project ids to names is less important than having a working security group list command. Change-Id: I68214d2680bad907f9d04ad3ca2f62cf3feee028 Closes-Bug: #1459629
* | Add --wait to server deleteMatt Riedemann2015-05-291-0/+17
|/ | | | | | | | | | | | | | This allows the server delete command to wait for the server to be deleted (obviously). The wait method is the same model that Tempest uses, i.e. wait for a 404 on server GET (successful deletion), fail if the server went to ERROR status, or fail if a timeout is reached. The default timeout of 300 seconds is also what Tempest uses. Closes-Bug: #1460112 Change-Id: I0e66c400903e82832944d1cad61e7eb30177c3e8
* Fix client error while rescuing an instanceAmey Bhide2015-05-221-3/+3
| | | | | | | | Typo server._info -> server Closes-Bug: #1457983 Change-Id: I606505d73b3aae90bac636e960275926284b4ea6
* Security group rule delete brokenTerryHowe2015-05-071-35/+4
| | | | | | | | | | Nova client was changed to take a rule id for security group rule delete. https://github.com/openstack/python-novaclient/blob/master/novaclient/v2/security_group_rules.py#L72 Change-Id: I0a69f3f196a36f267ee85a651b09aa8d3c328121 Closes-Bug: #1450872
* Merge "Fix security group create description bug"Jenkins2015-04-231-1/+3
|\
| * Fix security group create description bugDean Troyer2015-04-221-1/+3
| | | | | | | | | | | | | | | | --description is optional in our CLI but the server requires it to be non-empty. Set a default value of the given name. Closes-Bug: #1434172 Change-Id: I81507a77ad8d815000ff411784ae71e229c77f78
* | Merge "Security group rule create fails"Jenkins2015-04-231-0/+1
|\ \ | |/ |/|
| * Security group rule create failsRamaraja Ramachandran2015-04-221-0/+1
| | | | | | | | | | | | | | | | | | By default the --dst-port value is set to None when no --dst-port argument is provided. By making the default value (0, 0), this allows novaclient to proceed without any error. Change-Id: Ibb58f5df5ed1890a8f499dd2467b12b0e79d547b Closes-Bug: #1443963
* | Update the docs for new nic optionsSteve Martinelli2015-04-191-1/+1
| | | | | | | | Change-Id: I4c8b93ede80f993eab8badfbba6bf1c530844d54
* | Better help for --nic in create serverDavanum Srinivas2015-04-151-2/+9
|/ | | | | | | | Use the help string from python-novaclient for a better user experience. Closes-Bug: #1444685 Change-Id: If7b8e3f68a0c6ad82b9959f162670b5568d5d12d
* Add the ability to set and unset flavor propertiesMarek Aufart2015-03-191-3/+75
| | | | | | | | | | Added flavor set and unset command which allow manage flavor properties called extra_specs. Command flavor show output was extended with these properties. Closes-Bug: 1434137 Change-Id: Ie469bade802de18aab9d58eda3fff46064008163
* Merge "Add ability for diplaying hypervisor statistics"Jenkins2015-03-101-0/+33
|\