Comment 5 for bug 1535749

Revision history for this message
Sheel Rana (ranasheel2000) wrote :

Dear Mitsuhiro,

>I understand your concern using CLI with other commands, but I'm curios why you'd like to get only bootable volume.
Actually its not about only bootable rather its about combination of default filter options supported in cinder-api + options which are available under output of cinder list command.

|Default Arguments in API:
['name', 'status', 'metadata', 'availability_zone'],

|cinder list output
sheelrana@sheelrana-VirtualBox:~/cinder$ cinder list --name sheel
+--------------------------------------+-----------+------------------+-------+------+-------------+----------+-------------+-------------+
| ID | Status | Migration Status | Name | Size | Volume Type | Bootable | Multiattach | Attached to |
+--------------------------------------+-----------+------------------+-------+------+-------------+----------+-------------+-------------+
| 66bd1513-3791-4de1-933c-d3198ecf5038 | available | - | sheel | 1 | lvmdriver-1 | false | False | |
+--------------------------------------+-----------+------------------+------

So, user can visualize "Bootable" in cinder list output and same is part of default argument support in cinder-api.
Availibility_zone is also part of default arguments but that is not visible in cinder list output.
So, not taking that into consideration.

Though its ok to add support for other options as well if required and usable from user point of view.
You may suggest if you think something else as well required.

Thank you!!