summaryrefslogtreecommitdiff
path: root/openstackclient/compute
Commit message (Collapse)AuthorAgeFilesLines
...
| * | trivial: Cleanup docs for 'server rebuild'Stephen Finucane2020-12-031-29/+52
| | | | | | | | | | | | | | | | | | | | | Use consistent help strings and error messages. Change-Id: I42647a6b7e67ce4b8dd5f826e20802ade691c266 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | Switch compute aggregate functions to SDKArtem Goncharov2020-12-021-127/+136
| | | | | | | | | | | | | | | | | | | | | Continue journey towards having OSC consuming SDK for nova part. Depends-On: https://review.opendev.org/#/c/762131/ Change-Id: Id16e6c47aa93f02f15f49e1f59f73fecaa3e3b80
* | | Switch compute flavors from novaclient/direct to SDKArtem Goncharov2020-12-021-122/+140
|/ / | | | | | | | | | | | | | | | | | | | | Let's switch flavors from novaclient or direct API requests onto using SDK. Microversion agreement comes out of the box. SDK normalizes property names, while OSC uses server side names. In order not to break OSC users continue using server-side names. Depends-On: https://review.opendev.org/#/c/762989/ Change-Id: I62b2ed8488ee4ac9c42051311bcfb455506ddd90
* | Add NODE and HOST parameters in "server create" help textyanpuqing2020-12-011-1/+6
|/ | | | | | | | | | Add optional parameters "NODE" and "HOST" in the help text of the server create comand for --availability-zone. Co-Authored-By: tianhui <tianhui@awcloud.com> Change-Id: I4faea8a3d3aecb21ec535e55c238c71745fc68cb Task: 24274 Story: 2003313
* Merge "Add a few selectable fields to the "openstack server list" output"Zuul2020-11-181-0/+21
|\
| * Add a few selectable fields to the "openstack server list" outputjay2020-11-051-0/+21
| | | | | | | | | | | | | | | | Added ``-c project_id | user_id | created_at`` to ``openstack server list`` command to get these columns as an output. Change-Id: I18991adf899c7b72c98bb89871bf0715d35943f0 Story: 2007925
* | Merge "trivial: Document removal of support for agents"Zuul2020-11-181-4/+24
|\ \
| * | trivial: Document removal of support for agentsStephen Finucane2020-11-171-4/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | We can't remove these commands for a long time, given OSC's intention to support multiple releases of OpenStack, but we can at least indicate to users that this thing might not work anymore. Change-Id: I9093cc1197a0287984d83e2020fba100d0c958b3 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | Merge "Switch 'openstack keypair' ops to use SDK"Zuul2020-11-171-38/+48
|\ \ \ | |/ / |/| |
| * | Switch 'openstack keypair' ops to use SDKArtem Goncharov2020-11-091-38/+48
| | | | | | | | | | | | | | | | | | | | | | | | Let's continue our journey and start using SDK for the keypair operations Depends-On: https://review.opendev.org/#/c/761883/ Change-Id: Id411e70b8e1a79c0e88a0e22be7ff37e5c30fcda
* | | Merge "Resolve issues with 'server migration list'"Zuul2020-11-121-3/+8
|\ \ \
| * | | Resolve issues with 'server migration list'Stephen Finucane2020-11-091-3/+8
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The 'os-migrations' API accepts 'instance_uuid' and 'migration_type' query string parameters, not 'server' and 'type'. For the former, as the name would suggest, the value should be a server UUID, not a name. In addition, this is a list command and therefore should subclass the 'Lister' base class. Change-Id: I736f5575156fc04d7ada7783a1865ab3b438396f Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | Merge "Add 'openstack server evacuate' command"Zuul2020-11-091-0/+112
|\ \ \ | |/ / |/| |
| * | Add 'openstack server evacuate' commandSean Mooney2020-11-021-0/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds a new 'openstack server evacuate' command to provide parity with the 'nova evacuate' command. The term "evacuate" is notoriously poor, in that it implies the instance is moved rather than recreated, but it is retained since people are familiar with it now. Change-Id: I1e32ca51036c501862d8e89b3144a9695d98a06f
* | | Merge "Compute: Add user id support for keypair"Zuul2020-11-041-4/+82
|\ \ \
| * | | Compute: Add user id support for keypairHe Jie Xu2020-11-021-4/+82
| |/ / | | | | | | | | | | | | | | | | | | | | | This patch adds functionality of specific the user id when create, delete, show and list keypairs. Change-Id: Ib826f1f4f5a73d1875ba0f02e124b3222c4d05ed Co-Authored-By: tianhui <tianhui@awcloud.com>
* | | Merge "Add 'openstack server migration list --type' option"Zuul2020-11-031-4/+15
|\ \ \
| * | | Add 'openstack server migration list --type' optionStephen Finucane2020-10-131-4/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Another gap with novaclient closed. Change-Id: Id3ca95ceda6f438fa72496ab9ab15ac09bb64fa5 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | | Merge "Fix formatting of the flavor properties"Zuul2020-11-031-12/+47
|\ \ \ \
| * | | | Fix formatting of the flavor propertiesArtem Goncharov2020-11-021-12/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not stringify flavor properties to allow proper output formatting to json/yaml/etc Change-Id: I9f4c42acb85b726af87123134dd19de98fe95074
* | | | | Merge "Add support for 'keypairs list --project' parameter"Zuul2020-11-021-6/+38
|\ \ \ \ \
| * | | | | Add support for 'keypairs list --project' parameterStephen Finucane2020-10-141-6/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It would be lovely to do this server side but doing so requires a new microversion, a blueprint and a spec. This is less performant but should do the trick for the odd time users want to do this. Change-Id: I26e7d38966304dd67be5da8ed0bb24f87191b82f Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | | | | Merge "Switch console url show operations to SDK"Zuul2020-11-021-16/+19
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | |
| * | | | | Switch console url show operations to SDKArtem Goncharov2020-10-241-16/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Switch from using novaclient to SDK for openstack console url show operation. Depends-On: https://review.opendev.org/756286 Change-Id: Ibe247825148788c549c2c1e991aae92338cdf557
* | | | | | Merge "Add support for 'keypairs list --user' parameter"Zuul2020-11-021-1/+34
|\ \ \ \ \ \ | | |/ / / / | |/| / / / | |_|/ / / |/| | | |
| * | | | Add support for 'keypairs list --user' parameterStephen Finucane2020-10-141-1/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This has been supported by nova and novaclient since the veritable dark ages. Add it to OSC. Change-Id: Ifc95e7dd6c00807c80e87e10046ab154d0989014 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | | | Merge "trivial: Rework 'CreateServer' function"Zuul2020-10-301-117/+178
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | trivial: Rework 'CreateServer' functionStephen Finucane2020-10-291-117/+178
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This rather complex function has had stuff tacked on over the years. Help make working with it a bit easier through liberal application of whitespace and some nicer indentation. Some option help text is improved based on changes to modern nova. Change-Id: I8154dd395dd904c3bcd180a7d0f9037b7e0be64f Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | | | Merge "Validate 'server group create --policy' option"Zuul2020-10-211-5/+20
|\ \ \ \ \
| * | | | | Validate 'server group create --policy' optionStephen Finucane2020-10-131-5/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We were documenting that some of these policies were only supported with specific microversions, however, we weren't actually enforcing that, leading to a poor user experience. Correct this. Change-Id: Ic3c555226a220efd9b0f27edffccf6c4c95c2747 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | | | | Merge "Cleanup of 'server migration list' command"Zuul2020-10-211-84/+109
|\ \ \ \ \ \ | | |_|_|/ / | |/| | | |
| * | | | | Cleanup of 'server migration list' commandStephen Finucane2020-10-131-84/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Address some post merge nits. Change-Id: Ie59521d81fab191194f6c1a114b007fa17f5299f Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | | | | Merge "Switch openstack console log show operation to use OpenStackSDK"Zuul2020-10-211-10/+9
|\ \ \ \ \ \
| * | | | | | Switch openstack console log show operation to use OpenStackSDKArtem Goncharov2020-10-061-10/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A short switch onto SDK for fetching console logs of the server Change-Id: I3f750ea4f13a4e72272aa67ea4506bd7182b13f9
* | | | | | | Merge "Compute: Add tag support for server add fixed ip"Zuul2020-10-151-5/+25
|\ \ \ \ \ \ \ | |_|_|_|/ / / |/| | | | | |
| * | | | | | Compute: Add tag support for server add fixed iptianhui2020-10-121-5/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I62ed4729dead9f91630d1f568c834c9642965558 Story: 2002195 Task: 21679
* | | | | | | Compute: Add tags support for servertianhui2020-10-141-1/+114
| |_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: If065602792958ff0145ae9f2e05f5b7a3177905c Story: 2002006 Task: 19641
* | | | | | Merge "Compute: Add tag support for server add volume"Zuul2020-10-141-21/+43
|\ \ \ \ \ \
| * | | | | | Compute: Add tag support for server add volumetianhui2020-10-091-21/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Id9f2e09426f6824e9ca672bf7808b5165c650a69 Story: 2002195 Task: 21675
* | | | | | | Merge "Add 'server migration force complete' command"Zuul2020-10-141-0/+38
|\ \ \ \ \ \ \ | | |_|_|/ / / | |/| | | | |
| * | | | | | Add 'server migration force complete' commandjay2020-10-131-0/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is equivalent to novaclient's 'live-migration-force-complete' command. Change-Id: Ic4dc639afa16cdf8c5a46774895e850d92985292 Story: 2007513 Task: 39293
* | | | | | | Merge "Add 'server migration abort' command"Zuul2020-10-141-0/+38
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | Add 'server migration abort' commandhackertron2020-10-131-0/+38
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is equivalent to nova client's 'live-migration-abort' command. Change-Id: I0ff520ccfdf2de52c427affad7bef4554c86a06f Story: 2007489 Task: 39210
* | | | | | Merge "compute: Add --password option for openstack server create"Zuul2020-10-131-0/+6
|\ \ \ \ \ \
| * | | | | | compute: Add --password option for openstack server createZhaokun Fu2020-10-131-0/+6
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Iaf923200efe023655a58ac5acac0b087d2fd5366 Story: #1708570 Task: #13780
* | | | | | Merge "Compute: Add 'keypair create --type' parameter"Zuul2020-10-131-9/+33
|\ \ \ \ \ \ | |_|/ / / / |/| | | | |
| * | | | | Compute: Add 'keypair create --type' parametertianhui2020-10-121-9/+33
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I2d251e1b97fb9a8069431c867fb7fc5f42d1fd6e Story: 2002606 Task: 22225
* | | | | Merge "Remove oslo.utils"Zuul2020-10-133-9/+10
|\ \ \ \ \
| * | | | | Remove oslo.utilsMonty Taylor2020-10-123-9/+10
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Oslo things are really server-side oriented and are heavy-weight for client things. Remove oslo.utils and just use iso8601 and importlib directly. It's not actually a bad library, but pulling it and its other deps in just for a couple of wrapper methods is a bit much here. oslo.i18n, fwiw, is lightweight and helpful. Change-Id: I463993170c03a1d98c47ab6a3c19131b7fca1099
* | | | | Merge "Add an error message when server bind floating IP"Zuul2020-10-131-0/+4
|\ \ \ \ \