[one-users] Adding columns to onexxx output

Daniel Molina dmolina at opennebula.org
Tue Jan 24 01:58:51 PST 2012


Hi Ruben,

On 24 January 2012 10:30, Ruben Diez <rdiez at cesga.es> wrote:
> Hi:
>
> In OpenNebula 3.2 the "onehost list" command don't display the "hypervisor"
> and "tm_mad" columns, as in OpenNebula 3.0....
>
> Is it possible to display this info with the onehost comand fron the 3.2
> version of OpenNebula??
>

If you want to add more columns to your commands you have to edit the
*_helper file. For example for adding a new TM_MAD column to onehost
list you have to apply the following patch

https://gist.github.com/1669318

Also you will have to edit your onehost.yaml files:
* /etc/one/cli/onehost.yaml -> Default configuration
* $HOME/.one/cli/onehost.yaml -> If you have defined per user configuration

Cheers

> We try to add this to the onehost.yaml file:
>
> [.....]
> :HYPERVISOR:
>  :desc: Hypervisor
>  :size: 10
>  :left: true
>
> :TM_MAD:
>  :desc: Transfer manager
>  :size: 12
>  :left: true
>
> [.....]
> - :HYPERVISOR
> - :TM_MAD
>
> But it not works for us....
>
> Regards
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



-- 
Daniel Molina
Project Engineer
OpenNebula - The Open Source Toolkit for Data Center Virtualization
www.OpenNebula.org | dmolina at opennebula.org | @OpenNebula



More information about the Users mailing list