python-cinderclient/releasenotes/notes/transfer-sort-ca622e9b8da605c1.yaml
Sean McGinnis 8b1ed34ec1 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>
2019-05-04 09:52:51 -05:00

9 lines
374 B
YAML

---
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``.