[Users] Custom columns in VM list (engine admin) ?

This is a multi-part message in MIME format. --------------080005070104070301000505 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Hi, is it possible to add columns to the VM list view in ovirt-engine administrator? I'd like to add a memory columns (max, current) and also some IO stats and. In RHEL 5 virt-manager show something like this: http://i.imgur.com/e18DJtf.png -- Ernest Beinrohr, AXON PRO Ing <http://www.beinrohr.sk/ing.php>, RHCE <http://www.beinrohr.sk/rhce.php>, RHCVA <http://www.beinrohr.sk/rhce.php>, LPIC <http://www.beinrohr.sk/lpic.php>, +421-2--6241-0360 <callto://+421-2--6241-0360>, +421-903--482-603 <callto://+421-903--482-603> icq:28153343, skype:oernii-work <callto://oernii-work>, jabber:oernii@jabber.org ------------------------------------------------------------------------ “The bureaucracy is expanding to meet the needs of the expanding bureaucracy.” ― Oscar Wilde --------------080005070104070301000505 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body bgcolor="#FFFFFF" text="#000000"> Hi, is it possible to add columns to the VM list view in <br> ovirt-engine administrator? I'd like to add a memory <br> columns (max, current) and also some IO stats and.<br> <br> <br> In RHEL 5 virt-manager show something like this:<br> <a class="moz-txt-link-freetext" href="http://i.imgur.com/e18DJtf.png">http://i.imgur.com/e18DJtf.png</a><br> <br> <div class="moz-signature">-- <br> <div id="oernii_footer" style="color: gray;"> <span style="font-family: Lucida Console, Luxi Mono, Courier, monospace; font-size: 90%;"> Ernest Beinrohr, AXON PRO<br> <a style="text-decoration: none; color: gray;" href="http://www.beinrohr.sk/ing.php">Ing</a>, <a style="text-decoration: none; color: gray;" href="http://www.beinrohr.sk/rhce.php">RHCE</a>, <a style="text-decoration: none; color: gray;" href="http://www.beinrohr.sk/rhce.php">RHCVA</a>, <a style="text-decoration: none; color: gray;" href="http://www.beinrohr.sk/lpic.php">LPIC</a>, <a style="text-decoration: none; color: gray;" href="callto://+421-2--6241-0360">+421-2--6241-0360</a>, <a style="text-decoration: none; color: gray;" href="callto://+421-903--482-603">+421-903--482-603</a><br> icq:28153343, <a style="text-decoration: none; color: gray;" href="callto://oernii-work">skype:oernii-work</a>, <a class="moz-txt-link-abbreviated" href="mailto:jabber:oernii@jabber.org">jabber:oernii@jabber.org</a> <br> </span> <hr style="height: 1px; width: 95%"> “The bureaucracy is expanding to meet the needs of the expanding bureaucracy.” ― Oscar Wilde </div> </div> </body> </html> --------------080005070104070301000505--

Hi Ernest. It is not possible to do so at the moment. What you can do is add sub-tabs that will be opened when you stand on a VM on the VM list. In that sub-tab you can point to some URL, and show the data you need over there, according to the selected VM. More information of the UI plugins feature (which allows you to do the above) is in: http://www.ovirt.org/Features/UIPlugins It also includes some examples. Hope it helps, Oved ----- Original Message -----
From: "Ernest Beinrohr" <Ernest.Beinrohr@axonpro.sk> To: users@ovirt.org Sent: Thursday, March 28, 2013 5:06:48 PM Subject: [Users] Custom columns in VM list (engine admin) ?
Hi, is it possible to add columns to the VM list view in ovirt-engine administrator? I'd like to add a memory columns (max, current) and also some IO stats and.
In RHEL 5 virt-manager show something like this: http://i.imgur.com/e18DJtf.png
--
Ernest Beinrohr, AXON PRO Ing , RHCE , RHCVA , LPIC , +421-2--6241-0360 , +421-903--482-603 icq:28153343, skype:oernii-work , jabber:oernii@jabber.org
“The bureaucracy is expanding to meet the needs of the expanding bureaucracy.” ― Oscar Wilde _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Hi Ernest, as suggested by Oved, I definitely recommend to check out oVirt UI Plugins feature first. >From API perspective, here's what you can currently do with UI Plugins: - add custom {main|sub} tab, modify its content URL, set its accessibility - add custom {button|contextMenuItem|both} to existing data grid - show custom dialog, modify its content URL, close the dialog Custom columns in existing WebAdmin data grids is an interesting requirement for UI Plugins, we should consider implementing it. Plugin API proposal: api.addMainTabTextColumn( // entityTypeName 'VirtualMachine', // headerText 'My Column', // columnInterface { getValue: function(entity) { // In this case, entity is VM. // Return value should be string. return 'test-' + entity.id; }, width: '200px' } ); (Similar thing could be done for other kinds of columns, e.g. percentage column.) For custom columns whose values are computed asynchronously, we could support API such as: api.redrawMainTabTable('VirtualMachine'); Regards, Vojtech ----- Original Message ----- From: "Oved Ourfalli" <ovedo@redhat.com> To: "Ernest Beinrohr" <Ernest.Beinrohr@axonpro.sk> Cc: users@ovirt.org Sent: Thursday, March 28, 2013 4:10:43 PM Subject: Re: [Users] Custom columns in VM list (engine admin) ? Hi Ernest. It is not possible to do so at the moment. What you can do is add sub-tabs that will be opened when you stand on a VM on the VM list. In that sub-tab you can point to some URL, and show the data you need over there, according to the selected VM. More information of the UI plugins feature (which allows you to do the above) is in: http://www.ovirt.org/Features/UIPlugins It also includes some examples. Hope it helps, Oved ----- Original Message ----- > From: "Ernest Beinrohr" <Ernest.Beinrohr@axonpro.sk> > To: users@ovirt.org > Sent: Thursday, March 28, 2013 5:06:48 PM > Subject: [Users] Custom columns in VM list (engine admin) ? > > > Hi, is it possible to add columns to the VM list view in > ovirt-engine administrator? I'd like to add a memory > columns (max, current) and also some IO stats and. > > > In RHEL 5 virt-manager show something like this: > http://i.imgur.com/e18DJtf.png > > > -- > > Ernest Beinrohr, AXON PRO > Ing , RHCE , RHCVA , LPIC , +421-2--6241-0360 , +421-903--482-603 > icq:28153343, skype:oernii-work , jabber:oernii@jabber.org > > “The bureaucracy is expanding to meet the needs of the expanding > bureaucracy.” ― Oscar Wilde > _______________________________________________ > Users mailing list > Users@ovirt.org > http://lists.ovirt.org/mailman/listinfo/users > _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
participants (3)
-
Ernest Beinrohr
-
Oved Ourfalli
-
Vojtech Szocs