summaryrefslogtreecommitdiff
path: root/openstackclient/compute
Commit message (Collapse)AuthorAgeFilesLines
* Switch to ksa SessionDean Troyer2015-12-021-2/+2
| | | | | | | | * Change session imports to keystoneauth1 * Change keystoneclient.exception imports to keystoneauth1 * Change exceptions raised from internal API from keystoneclient to openstack.common Change-Id: I046d89f561d6fe04baae53726f9749d2e7fe2056
* Merge "Add --limit option to "server list" command."Jenkins2015-12-011-1/+12
|\
| * Add --limit option to "server list" command.Tang Chen2015-12-011-1/+12
| | | | | | | | | | | | This option will limit the total amount of items the command will list up. Change-Id: I46af0d479d795ebb6a74585d0f76629dd940b117
* | Merge "Add --marker option to "server list" command."Jenkins2015-11-301-1/+16
|\ \ | |/
| * Add --marker option to "server list" command.Tang Chen2015-12-011-1/+16
| | | | | | | | | | | | | | This option will give user a chance to display the server list from wherever they want. Change-Id: I92cca5e98cd473f1113a9106eb9d1f490694b1fe
* | Add "openstack server unshelve" into OSCxiexs2015-11-281-25/+50
|/ | | | | | | | The unshelve operation is not supported by OSC, and this patch tries to add it. Change-Id: Ic60a4616cb63ad21c1a3c8e02611da8bad3a8bd0 Implements: blueprint introduce-shelve-into-osc
* Refactor: Order of security group class namesRichard Theis2015-11-251-123/+123
| | | | | | | | | Per comment in [1], refactor the security group class names to be in alphabetical order. [1] https://review.openstack.org/#/c/249223 Change-Id: If28a153cdab57c0659ff5c78b276766d4043467f
* Merge "Add "openstack server shelve" into OSC"Jenkins2015-11-241-0/+25
|\
| * Add "openstack server shelve" into OSCxiexs2015-11-241-0/+25
| | | | | | | | | | | | | | | | Currently, the shelve operation is not supported by OSC. So, this patch attempts to add it into OSC. Change-Id: I92545300bef006a069338168d2de800e8a58af69 Implements: blueprint introduce-shelve-into-osc
* | Merge "Doc: Update and add IP address"Jenkins2015-11-243-16/+16
|\ \
| * | Doc: Update and add IP addressRichard Theis2015-11-243-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix the 'ip floating' command documentation file name. Add missing command list documentation for the 'ip fixed' and 'ip floating pool' commands. In addition, update the command description and argument help to fix minor issues and use consistent terminology. And finally, cleanup the Network command object formatting. Change-Id: I0168891bc674c9f0d4df4062f7e93f497dc8fe6f
* | | Merge "Doc: Add security group and security group rule"Jenkins2015-11-241-10/+10
|\ \ \ | |/ / |/| |
| * | Doc: Add security group and security group ruleRichard Theis2015-11-241-10/+10
| |/ | | | | | | | | | | | | | | | | Add missing command list documentation for the 'security group' and 'security group rule' commands. In addition, update the command description and argument help to fix minor issues and use consistent terminology. Change-Id: I9f4a3fbac5637289f19511874e16391d3fe27132
* | Enable "openstack server resume" command to take multiple servers.Tang Chen2015-11-241-6/+8
| | | | | | | | | | | | | | | | | | Current "openstack server resume" command could only resume one server. Improve it to be able to handle more than one servers. Also improve the doc to reflect the new feature. Change-Id: I726eb86bfa3df3a9911f45770e6641264dbc1e0b Implements: blueprint cmd-with-multi-servers
* | Enable "openstack server suspend" command to take multiple servers.Tang Chen2015-11-241-6/+8
|/ | | | | | | | | Current "openstack server suspend" command could only suspend one server. Improve it to be able to handle more than one servers. Also improve the doc to reflect the new feature. Change-Id: Ic0417ee28f46c9198a35744c0180342e61966b26 Implements: blueprint cmd-with-multi-servers
* Remove deprecated 'project usage list' commandDean Troyer2015-11-181-17/+0
| | | | | | | | | | Remove the 'project usage list' command that was deprecated in version 1.0.2 in review Ie08d4f88d71a660fca1862405351109cd0aa86b6. Note that the removed command class is a good example of how to wrap a command and show a deprecation message. Change-Id: I6c750730963615895f5d9953487d2d5a905885a8
* 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
* Use `discover_extensions` for novaclientAndrey Kurilin2015-09-111-7/+3
| | | | | | | | | novaclien v2.26.0 includes `discover_extensions` method, which returns list of all nova extensions based of version. Such method allows us to reduce imports of novaclient's modules and construct novaclient instance simpler. Change-Id: Idbe3ed275fb4a7e3918b11669dcfad47b8de4fb9
* 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
* | Use novaclient.client.Client for initialization Nova clientAndrey Kurilin2015-09-091-8/+8
| | | | | | | | | | | | | | | | `novaclient.client.Client` is a recommended entry point for novaclient. It supports backward-compatibility and allows Nova-folks to change interfaces of inner versioned clients classes. Change-Id: Iaf20714f63c307f88a451759f041ca509fbcf6f8
* | Merge "Properly handle port arguments for ICMP"Jenkins2015-09-081-4/+7
|\ \