You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Rohit Yadav (JIRA)" <ji...@apache.org> on 2014/10/03 14:07:33 UTC

[jira] [Closed] (CLOUDSTACK-4213) Improve parsability of cloudmonkeys output

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-4213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rohit Yadav closed CLOUDSTACK-4213.
-----------------------------------
    Resolution: Won't Fix

This would be difficult to do for all 400+ apis, you should switch to using json output mode where we pretty print the output and you can use grep etc. as all sections have suitable indentation .

> Improve parsability of cloudmonkeys output
> ------------------------------------------
>
>                 Key: CLOUDSTACK-4213
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4213
>             Project: CloudStack
>          Issue Type: Improvement
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Cloudmonkey
>    Affects Versions: 4.1.0
>         Environment: Linux mint 14
>            Reporter: Jerker Montelius
>            Assignee: Rohit Yadav
>              Labels: features
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Please improve the output from cloudmonkey to make it easier to parse in a bash script.
> If you for example list virtual machines with 
> >cloudmonkey list virtualmachines
> you get two lines that begins with "id = " 
> One Virtualmachineid and one nicid but from diffrent sections
> This is hard to parse wit tools like grep.
> I suggest:
> 1. Create a outputmode where nicid is separated from id by some prefix ie. (nic1.id =)
> 2. implement the filter function from the "table" output in this mode too.
> 3. Please improve on the error reporting. Only a http 431 error don’t say so mutch.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)