summaryrefslogtreecommitdiff
path: root/openstackclient
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Add missing documentation for state options for "image set""Zuul2023-02-221-2/+8
|\
| * Add missing documentation for state options for "image set"lsmman2023-02-221-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current "image set" with the state option behaves as follows: if you use --project, it updates the membership status of the given project. When this command was first added, it had the following description: If --project is passed, update the membership status for the given project However, the description was missed when moving the documentation for which command to the parser for each command method in commit f055fe67c. Correct this oversight. Co-authored-by: JAE YONG LEE <jaeljy135@gmail.com> Change-Id: I18a29a19ce973971f68a52cbf4020cfa324c7a35
* | Merge "Drop default from ask_user_yesno question"Zuul2023-02-221-5/+3
|\ \
| * | Drop default from ask_user_yesno questionDr. Jens Harbott2022-12-271-5/+3
| | | | | | | | | | | | | | | | | | | | | There is no default for ask_user_yesno() since an empty answer instead just repeats the question. Drop the unnecessary parameter. Change-Id: I207bccbcbd31f831765e74a20c503b695790c0f5
* | | Merge "Wait for volume being available to set bootable or readonly"Zuul2023-02-224-14/+164
|\ \ \
| * | | Wait for volume being available to set bootable or readonlymatbu2023-02-224-14/+164
| | |/ | |/| | | | | | | | | | | | | | | | | | | This patch add a check to be sure that the volume created is in a available state before trying to set bootable or readonly flag. Story: 2002158 Change-Id: I8db71fd8cf5bd14eb67880f76d2e9135edeb3ed2
* | | Merge "Update 'host list' and 'host show' command to use sdk"Zuul2023-02-222-58/+107
|\ \ \
| * | | Update 'host list' and 'host show' command to use sdkHarsh Mutha2022-12-202-58/+107
| | | | | | | | | | | | | | | | Change-Id: I3813ff604ba46112ebd358509ea4f28ee38ca3ee
* | | | Merge "Fix really long help strings"Zuul2023-02-224-35/+33
|\ \ \ \
| * | | | Fix really long help stringsStephen Finucane2022-12-124-35/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Each command should have a summary line followed by a longer description, if needed. Some commands were not following this. Fix them. Change-Id: If1ce7654037d192626460f34c069ea0979919b9b Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | | | Merge "Add port ranges on floating ip portforwardings cli"Zuul2023-02-223-57/+314
|\ \ \ \ \
| * | | | | Add port ranges on floating ip portforwardings cliPedro Martins2022-07-133-57/+314
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch is one of a series of patches to implement floating ip port forwarding with port ranges. The specification is defined in: https://github.com/openstack/neutron-specs/blob/master/specs/wallaby/port-forwarding-port-ranges.rst Change-Id: If9679c87fd8b770fcd960048e091ee8d59205285 Implements: blueprint floatingips-portforwarding-ranges Related-Bug: #1885921
* | | | | | Merge "volume: Remove duplication from 'consistency group create' opts"Zuul2023-02-222-15/+34
|\ \ \ \ \ \
| * | | | | | volume: Remove duplication from 'consistency group create' optsStephen Finucane2023-02-142-15/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The '--consistency-group-source' and '--consistency-group-snapshot' opts are unnecessarily verbose. Shorten them to '--source' and '--snapshot', respectively, maintaining aliases to avoid breaking users. Change-Id: I2b6656a8a09d953eb4406f1d4fd1e804743a8963 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | | | | | Merge "Deprecate positional args for 'volume group create'"Zuul2023-02-222-44/+138
|\ \ \ \ \ \ \
| * | | | | | | Deprecate positional args for 'volume group create'Stephen Finucane2023-02-172-44/+138
| | |_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are now many ways to create a new volume group, thus the positional arguments don't make sense. Deprecate them. Change-Id: Id0b212426861719db1812b7d07b82613cf591de4 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | | | | | Merge "Finish switching server migration to sdk"Zuul2023-02-213-166/+193
|\ \ \ \ \ \ \
| * | | | | | | Finish switching server migration to sdkViolet Kurtz2022-12-143-166/+193
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ic0e6dfdc986989599bfc73b8c274631232161c25
* | | | | | | | Merge "tests: Use fake SDK Migration object"Zuul2023-02-212-60/+42
|\ \ \ \ \ \ \ \ | |/ / / / / / /
| * | | | | | | tests: Use fake SDK Migration objectStephen Finucane2023-01-042-60/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We missed this when migrating the 'server migration list' command across. Change-Id: Ide05a0289020764829f1dbc416be5336fdf37d84 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | | | | | | Merge "compute: 'server volume update' -> 'server volume set'"Zuul2023-02-212-7/+8
|\ \ \ \ \ \ \ \
| * | | | | | | | compute: 'server volume update' -> 'server volume set'Stephen Finucane2022-12-152-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We use 'set', not 'update', in command names. An alias is provided. Change-Id: I7864599e06df055999b975aabf101611cd482753 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | | | | | | | Merge "Switch server volume update to sdk"Zuul2023-02-212-68/+82
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / /
| * | | | | | | | Switch server volume update to sdkRitvik Vinodkumar2022-12-152-68/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Switch the server volume update command from novaclient to SDK. Change-Id: Ib9876775bcf8268344da1a58ab0dd1695cb83ece
* | | | | | | | | Merge "Switch list server volume to sdk"Zuul2023-02-215-173/+94
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / | | | / / / / / / | |_|/ / / / / / |/| | | | | | |
| * | | | | | | Switch list server volume to sdkRitvik Vinodkumar2022-12-155-173/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Switch the server volume list command from novaclient to SDK. Modified functional test for server add/remove volume. Change-Id: I5b4ab7d0275aec2e02451c5371319ac350af6a5f
* | | | | | | | Add options to create volume group from source6.1.0whoami-rajat2023-02-172-29/+219
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds ``--source-group`` and ``--group-snapshot`` options to the ``volume group create`` command to allow creating group from a source group or a group snapshot. Change-Id: I87482a5dd43c519dfdcf981635aa879914a70a5c
* | | | | | | | Add block storage manageable list commandswhoami-rajat2023-02-173-0/+707
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds the ``block storage volume manageable list`` and ``block storage snapshot manageable list`` commands that allow operators to list the volumes and snapshots on a particular host or cluster for management under OpenStack. Change-Id: I328dada5a0dc4e9e44c0d51db5cf3f224e27f88f
* | | | | | | | Add block storage cleanup commandwhoami-rajat2023-02-173-0/+356
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds the ``block storage cleanup`` command that allow operators to cleanup resources (volumes and snapshots) with failed operations by requesting services in other hosts in the same cluster to cleanup resources of a failed service. Change-Id: I1375223f525021db5201fa0a9f9a647d17dd01f7
* | | | | | | | Add block storage log level {list, set} commandswhoami-rajat2023-02-163-0/+399
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds the ``block storage log level list`` and ``block storage log level set`` commands that allow operators to list the current log levels of cinder services and also enables them to set a particular log level. Change-Id: I16cd8084fb505a9e68a35a936ef3b8b1f3cdc712
* | | | | | | | Add volume revert commandwhoami-rajat2023-02-162-0/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This command allows users to revert a volume to a given snapshot. Change-Id: If35ee394d654f5264558a281c835affff524ca50
* | | | | | | | Merge "Add volume summary command"Zuul2023-01-312-0/+202
|\ \ \ \ \ \ \ \
| * | | | | | | | Add volume summary commandwhoami-rajat2023-01-132-0/+202
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds the ``volume summary`` command which shows the total size, total count and metadata of all volumes. This command is available from microversion 3.12 and the metadata info is available from microversion 3.36. Change-Id: I6472337e8b1dc91aad5fbe416673a5d5a5d5fa88
* | | | | | | | Merge "Move network trunk commands from python-neutronclient"Zuul2023-01-314-0/+1471
|\ \ \ \ \ \ \ \ | |_|_|/ / / / / |/| | | | | | |
| * | | | | | | Move network trunk commands from python-neutronclientelajkat2023-01-164-0/+1471
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Network trunk commands originally were added to python-neutronclient, although we can long consider these operations core Networking operations. This patch is not a blind copy but also changes the original code to use openstacksdk python bindings instead of the binding code in python-neutronclient as that is already deprecated. Change-Id: Ic4bc35c296a95d5dae92e9fc1cab3a3fa8f103cd Related-Bug: #1999774
* | | | | | | | Merge "image: Add support for additional image import methods"Zuul2023-01-252-8/+20
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | | | |
| * | | | | | | image: Add support for additional image import methodsStephen Finucane2022-11-302-8/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These are now supported in openstacksdk so we can use them. Change-Id: Ie3107ba2155f9008e6065171298f85978957a172 Signed-off-by: Stephen Finucane <sfinucan@redhat.com> Depends-on: https://review.opendev.org/c/openstack/openstacksdk/+/864029
* | | | | | | | Merge "Add qos rule type filtering"Zuul2022-12-203-1/+87
|\ \ \ \ \ \ \ \
| * | | | | | | | Add qos rule type filteringRodolfo Alonso Hernandez2022-12-103-1/+87
| | |_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added two new filter flags to ``openstack network qos rule type list``: - "--all-supported", to return any QoS rule type supported by at least one loaded driver. - "--all-rules", to return all QoS rule types supported by the current version of Neutron server, regardless of the loaded drivers. Depends-On: https://review.opendev.org/c/openstack/openstacksdk/+/827671 Depends-On: https://review.opendev.org/c/openstack/neutron/+/827683 Related-Bug: #1959749 Change-Id: Ie0622e79ecf7dadd6560fea142352f5a2ed66b74
* | | | | | | | Merge "image: Fail if we can't find an image"Zuul2022-12-202-9/+26
|\ \ \ \ \ \ \ \
| * | | | | | | | image: Fail if we can't find an imageStephen Finucane2022-12-012-9/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Whenever we attempt to find a provided image, we generally want to fail fast if they can't be found. This wasn't happening. Fix it. Change-Id: Ibea38354a78381cb87d287f03726ecd03ecd246d Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | | | | | | | Merge "image: Rename import"Zuul2022-12-201-13/+15
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / | | / / / / / / / | |/ / / / / / / |/| | | | | | |
| * | | | | | | image: Rename importStephen Finucane2022-12-011-13/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes the code a little clearer. Change-Id: Ib552d510ca484571e59363ef15fe5e2cc0a2f4e1 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* | | | | | | | Merge "Switch server dump create to using sdk"Zuul2022-12-153-15/+33
|\ \ \ \ \ \ \ \
| * | | | | | | | Switch server dump create to using sdkDiwei Zhu2022-12-153-15/+33
| | |_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I8e2a4651bff1f739fa98533cd47074b143b2e3d6 Co-authored-by: Stephen Finucane <stephenfin@redhat.com>
* | | | | | | | Merge "Use the SDK in server migration list"Zuul2022-12-153-83/+91
|\ \ \ \ \ \ \ \
| * | | | | | | | Use the SDK in server migration listDaniel Wilson2022-11-303-83/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update server migration list to use the OpenStack SDK instead of directly using the nova interface. Change-Id: I40dc95ee47e7c33ebf596f8ad437228b4bb0ab33
* | | | | | | | | Merge "Add baremetal agent type list filtering"Zuul2022-12-151-3/+4
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Add baremetal agent type list filteringMaksim Malchuk2022-11-091-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds and ability to filter out the baremetal nodes in 'network agent list' command. Related-Story: 2008590 Related-Task: 41746 Related-Bug: #1658964 Change-Id: I01ffbd82662abbc1c2f56eb8f1e700f392bc063c Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
* | | | | | | | | | Merge "Add image metadef namespace command"Zuul2022-12-153-3/+403
|\ \ \ \ \ \ \ \ \ \