Ask Your Question
0

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

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

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
0

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

teju gravatar image

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

edit flag offensive delete link more

Comments

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 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

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

Seen: 137 times

Last updated: Jun 23 '16