openstack client: list of valid columns?
Many openstack client commands (in particular the list type commands) have a -c option by which the displayed columns can be selected. I have, however, not found what columns are valid. Recent example:
$ openstack hypervisor list -c id -c free_disk_gb
No recognized column names in [u'id', u'free_disk_gb']
Although these columns exist:
$ openstack hypervisor show 1 | grep -e id -e free_disk_gb
| free_disk_gb | 52
| id | 1
(output shortened)
Are the valid columns documented somewhere, or is there a command that tells me what columns are available?
The only commands that I am aware of that supporte columns 'properly' (to use the parameters from 'show') are neutron net-list/subnet-list (eg. neutron net-list -c name -c subnets -c provider:segmentation_id). With openstack client, I remember checking it was quite the same, only some Neutron stuff
Well, the openstack client still has room for improvement, I guess. Thanks for confirming my thinking :)