summaryrefslogtreecommitdiff
path: root/releasenotes
diff options
context:
space:
mode:
authorSean McGinnis <sean.mcginnis@gmail.com>2019-04-18 16:09:26 -0500
committerSean McGinnis <sean.mcginnis@gmail.com>2019-05-04 09:52:51 -0500
commit8b1ed34ec1b01ad77f1008a464302d94fa14c7b6 (patch)
tree00cf8694c9f272aca8124d3014b0d7718a4da6e5 /releasenotes
parenteae7d55a07c7d1237614e65a6c32a8c6608318ff (diff)
downloadpython-cinderclient-8b1ed34ec1b01ad77f1008a464302d94fa14c7b6.tar.gz
Add transfer-list --sort argument
Change Idb04f783b2287b2b45d626131648b0005a232fbe to the cinder service introduced pagination and the ability to sort results for listing volume transfers. This adds the sort ability to the cinder client. The service side uses the sort_key and sort_dir that we've deprecated long ago, but was unfortunately missed when merging this support. Since we have been giving deprecation warnings for using those for other operations, this adds support for --sort that internally will convert to the API's expected sort_key and sort_dir. Change-Id: I137436c76852cbb974eee87e49712c698cbf081b Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Diffstat (limited to 'releasenotes')
-rw-r--r--releasenotes/notes/transfer-sort-ca622e9b8da605c1.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/releasenotes/notes/transfer-sort-ca622e9b8da605c1.yaml b/releasenotes/notes/transfer-sort-ca622e9b8da605c1.yaml
new file mode 100644
index 0000000..5080f97
--- /dev/null
+++ b/releasenotes/notes/transfer-sort-ca622e9b8da605c1.yaml
@@ -0,0 +1,8 @@
+---
+features:
+ - |
+ Starting with microversion 3.59, the ``cinder transfer-list`` command now
+ supports the ``--sort`` argument to sort the returned results. This
+ argument takes either just the attribute to sort on, or the attribute and
+ the sort direction. Examples include ``cinder transfer-list --sort=id`` and
+ ``cinder transfer-list --sort=name:asc``.