You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Jerker Montelius (JIRA)" <ji...@apache.org> on 2013/08/09 14:50:47 UTC

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

Jerker Montelius created CLOUDSTACK-4213:
--------------------------------------------

             Summary: 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


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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira