Hi Carlo, In the core, the host monitoring information is stored in a Template (check Host::update_info if you want to poke around). The Template object uses a multimap, and the attributes are ordered as the Template::to_xml method puts them (should be in alphabetical order).
If you want to customize how the info is presented in Sunstone, you can take a look at hosts-tab.js, function updateHostInfo; and sunstone.js, function insert_extended_template_table. Hope it helps, Carlos -- Carlos Martín, MSc Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | [email protected] | @OpenNebula <http://twitter.com/opennebula> <[email protected]> On Tue, Jun 10, 2014 at 9:27 AM, Carlo Daffara < [email protected]> wrote: > Dear friends, > we are working on extending/adding a few IM scripts to check for presence > of virtualization extensions, support in the bios and so on. We already > have a nicely working prototype, > but we have a hard time understanding what order is used to show the > information- it's clearly not ordered by executed IM script (or VMXCPU and > VMXBIOS would be one after the other). > Is it possible to order it afterwards? Or change the ordering? > cheers, > carlo daffara > CloudWeavers > _______________________________________________ > Users mailing list > [email protected] > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org > >
_______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
