listing column which contains space
Hi
Trying to get the ouput for a limited set of columns in the below cli
openstack server list -c ID -c Name -c 'Power Status' openstack server list -c ID -c Name -c "Power Status"
No matter, what i try the column does not get listed at all
if i run command openstack server list --long I get below columns in output
| ID | Name | Status | Task State | Power State | Networks | Image Name | Image ID | Availability Zone | Host | Properties
there is no man page that i can search for the actual column name and help "openstack help server list" does not display any help.
this sounds very silly and simple, but my google search has not helped.
could anyone please help?
The columns that can be selected with the -c option are, unfortunately, not documented (or not well), but how about trying Power State instead of Power Status?
Or perhaps the field name from the server show command works, something like OS-EXT-STS:power_state.
Tried that too: - no luck, it does not look like a legal column
openstack server list -c ID -c Name -c OS-EXT-STS:power_state
In conclusion, the openstack client's column selection has room for improvement.