Mitsuhiro Tanino 9e0f7983c2 Add --metadata option to API v2 cinder list command again
In the commit I90a2b713556e91db69270a03ef6b798e08f93f90,
--metadata option of do_list() in v2/shell.py was
unexpectedly removed and --image_metadata option was
added instead of --metadata option.

This is wrong fix because --image_metadata option
requires API version >= "3.4" and is not supported at
API v2. On the other hands, --metadata option of
do_list() is supported from API v1.

We should remove --image_metadata option and then add
--metadata option to do_list() again.

Also comment on API v3 cinder list --metadata should
be fixed because this doesn't require API >=3.4.

Co-Authored-By: Masaki Kimura <masaki.kimura.kz@hitachi.com>

Change-Id: Ic7d5cfa2acb47fbf73776e034d958ad8fb9119a8
Closes-Bug: #1661045
2017-02-03 14:39:02 -05:00
..
2016-12-20 16:29:36 +02:00
2016-06-28 08:44:23 +00:00
2016-12-20 16:29:36 +02:00
2016-12-20 16:29:36 +02:00
2016-12-20 16:29:36 +02:00
2016-12-20 16:29:36 +02:00
2016-12-20 16:29:36 +02:00
2016-12-20 16:29:36 +02:00