[one-users] New CLI functionality for OpenNebula 4.0

Javier Fontan jfontan at opennebula.org
Thu Feb 28 03:35:49 PST 2013


I've created a ticket with this:

http://dev.opennebula.org/issues/1788

I also think it is good to use one parameter to select the output
format instead of adding multiple ones (like --xml, --template,
--json, etc).

Thanks

On Wed, Feb 27, 2013 at 4:50 PM, Hans-Joachim Ehlers
<HansJoachim.Ehlers at eumetsat.int> wrote:
> For automation it would be nice to have a defined output format support by an additional option like "-F | --format"
>
> Where format could be : stanza , xml , {}  or what ever is useful and reliable. Might ease command output handling .
>
> Example:
>  --format S # Stanza
>
> ServiceComponent:
>     Service=<service_name>
>     Name=<component_name>
>     Module=<module_name>
>     ComponentDataSize=<size>
>
>
>  --format X # XML
> <ServiceComponent>
> ...
> </ServiceComponent>
>
>
> Just an Idea
> Hajo



-- 
Javier Fontán Muiños
Project Engineer
OpenNebula - The Open Source Toolkit for Data Center Virtualization
www.OpenNebula.org | jfontan at opennebula.org | @OpenNebula



More information about the Users mailing list