Comment 4 for bug 1657956

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-openstackclient (master)

Reviewed: https://review.openstack.org/423081
Committed: https://git.openstack.org/cgit/openstack/python-openstackclient/commit/?id=6aceca218af7d1d2c708fde48f1a5f2b798bc421
Submitter: Jenkins
Branch: master

commit 6aceca218af7d1d2c708fde48f1a5f2b798bc421
Author: Rui Chen <email address hidden>
Date: Fri Jan 20 14:37:14 2017 +0800

    Replace "Display Name" by "Name" in volume list

    Current "volume list --name" command use "display_name" as search_opts
    to send to cinder API, and show the result table with "Display Name"
    column title in osc, cinder list API support "name" as search opts too,
    and there is "name" attribute in volume response body, so we can replace
    all "Display Name" by "Name" in order to keep "volume list" command
    consistent with other commands, like: server list, network list and so
    on, only use "Name" attribute for all objects.

    Support a mapping for volume list -c "Display Name" (Volume v1 and v2)
    and volume create/show -c "display_name" (Volume v1) for minimal
    backward compatibility until R release.

    Change-Id: I120be0118e7bb30093b4237c5eeb69a9eedef077
    Closes-Bug: #1657956
    Depends-On: I1fb62219b092346ea380099811cbd082cae5bafe