Ask Your Question

How can I export an OS command to csv/xml/json?

asked 2016-06-20 13:34:36 -0600

jafar gravatar image

For example, let's say I need a csv/xml/json of the output of nova list. How can I accomplish this?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-06-23 07:06:21 -0600

teju gravatar image

Use 'nova --debug list' to see the JSON format of the output

edit flag offensive delete link more


This also gives me a lot of extra fields that I'd then have to parse, but thank you for the answer.

jafar gravatar imagejafar ( 2016-06-23 08:02:47 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-06-20 13:34:36 -0600

Seen: 272 times

Last updated: Jun 23 '16