>> >
>>
>> +1 - JSON output would make it very good to consume into other api
>> response processing. Right now cloudmonkey actually isn't aware of the
>> response object model. For certain API responses that return embedded
>> objects (eg: listNetworks [1]) it would be good to return the JSON
>> appropriately formatted as well.
>>
>> [1] https://gist.github.com/vogxn/5255883
>
> If cloudmonkey cares about json response now, it makes sense that both 
> cloudmonkey and marvin share the same code to send api command and parse json 
> response. Isn't it?
>

Yup - makes perfect sense. They do use the same make_request method.
cloudmonkey/requester.py and
tools/marvin/marvin/cloudstackConnection.py. I fix (CLOUDSTACK-1906)
that so we have one codepath for the request call. monkey->marvin or
marvin->monkey? or a cloudstack-request-util may be.

Reply via email to