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.
Reviewed: https:/ /review. openstack. org/423081 /git.openstack. org/cgit/ openstack/ python- openstackclient /commit/ ?id=6aceca218af 7d1d2c708fde48f 1a5f2b798bc421
Committed: https:/
Submitter: Jenkins
Branch: master
commit 6aceca218af7d1d 2c708fde48f1a5f 2b798bc421
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: I120be0118e7bb3 0093b4237c5eeb6 9a9eedef077 6ea380099811cbd 082cae5bafe
Closes-Bug: #1657956
Depends-On: I1fb62219b09234