blob: 957914a4780e7d45e62d10dfbdabd7a2d2825eea [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--Copyright (c) 2000-2019 Ericsson Telecom AB
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v2.0
which accompanies this distribution, and is available at
http:www.eclipse.org/legal/epl-v10.html -->
<Widgets xmlns="http://ttcn.ericsson.se/protocolModules/xtdp/xtdl">
<window height="800.000000" id="EPTF_Main_Window" orientation="vertical"
title="HostAdminServer demo" width="800.000000">
<hbox orientation="vertical">
<tabpages id="EPTF_Main_tabbox">
<tabpage id="HostAdminServer.tab" label="HostAdminServer"
orientation="vertical">
<condition element="isMultipleHosts" id="cond_multipleHosts"
source="HostAdminServer">
<insertif id="cond_multipleHosts">
<hbox>
<tree disabled="false" flex="1.000000" hidecolumnpicker="true"
id="HostAdmin.%host%.hostStats" rows="1.000000">
<treecols>
<treecol editable="false" flex="1.000000" label="Host"
widgetType="string" />
<treecol editable="false" flex="1.000000" label="CPU Load [%]"
widgetType="string" />
<treecol editable="false" flex="1.000000" label="Physical Memory"
widgetType="string" />
<treecol editable="false" flex="1.000000" label="Free Memory"
widgetType="string" />
</treecols>
<treechildren>
<treeitem>
<iterator element="Hosts" id="host" source="HostAdminServer">
<treerow>
<treecell label="%host%" />
<treecell>
<externaldata element="CpuLoad" source="HostAdminServer">
<params>
<dataparam name="HostName" value="%host%" />
</params>
</externaldata>
</treecell>
<treecell>
<externaldata element="PhysicalMemHRF"
source="HostAdminServer">
<params>
<dataparam name="HostName" value="%host%" />
</params>
</externaldata>
</treecell>
<treecell>
<externaldata element="FreeMemHRF" source="HostAdminServer">
<params>
<dataparam name="HostName" value="%host%" />
</params>
</externaldata>
</treecell>
</treerow>
</iterator>
</treeitem>
</treechildren>
</tree>
</hbox>
</insertif>
</condition>
<tabpages layout="WRAP">
<iterator element="ProcessNames" id="selfName" source="HostAdminServer">
<condition element="match" id="only_load_processes2"
source="DataSource">
<params>
<dataparam name="param1" value="%selfName%" />
<dataparam name="param2" value="load*" />
</params>
<insertif id="only_load_processes2">
<tabpage id="HostAdmin.%selfName%" label="%selfName%"
orientation="vertical">
<label disabled="false" flex="0.000000" value="CPU load:" />
<textbox flex="1.000000" id="Processes.%selfName%_4"
multiline="false" readonly="true">
<externaldata element="CpuLoad" source="HostAdminServer">
<params>
<dataparam name="SelfName" value="%selfName%" />
</params>
</externaldata>
</textbox>
<label disabled="false" flex="0.000000" value="Memory usage:" />
<textbox flex="1.000000" id="Processes.%selfName%_5"
multiline="false" readonly="true">
<externaldata element="MemUsageHRF" source="HostAdminServer">
<params>
<dataparam name="SelfName" value="%selfName%" />
</params>
</externaldata>
</textbox>
</tabpage>
</insertif>
</condition>
</iterator>
</tabpages>
</tabpage>
</tabpages>
</hbox>
</window>
</Widgets>