1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-25 06:03:36 +03:00

Update XSD documents

This commit is contained in:
Ruben S. Montero 2017-07-18 13:43:30 +02:00
parent 091b76ec24
commit f66e022ba8
5 changed files with 14 additions and 4 deletions

View File

@ -78,7 +78,9 @@
MONITOR_ACTION = 44
-->
<xs:element name="ACTION" type="xs:integer"/>
<xs:element name="UID" type="xs:integer"/>
<xs:element name="GID" type="xs:integer"/>
<xs:element name="REQUEST_ID" type="xs:string"/>
<xs:element name="VM">
<xs:complexType>
<xs:sequence>

View File

@ -31,6 +31,8 @@
<!-- ^^ KB, Usage of MEMORY calculated by ONE as the summatory MEMORY requested by all VMs running in the host -->
<xs:element name="CPU_USAGE" type="xs:integer"/>
<!-- ^^ Percentage, Usage of CPU calculated by ONE as the summatory CPU requested by all VMs running in the host -->
<xs:element name="TOTAL_MEM" type="xs:integer"/>
<xs:element name="TOTAL_CPU" type="xs:integer"/>
<xs:element name="MAX_DISK" type="xs:integer"/>
<xs:element name="MAX_MEM" type="xs:integer"/>
<!-- ^^ KB, Total memory in the host -->
@ -46,6 +48,8 @@
<!-- ^^ KB, Memory used by all host processes (including VMs) over a total of MAX_MEM -->
<xs:element name="USED_CPU" type="xs:integer"/>
<!-- ^^ Percentage of CPU used by all host processes (including VMs) over a total of # cores * 100 -->
<xs:element name="RUNNING_VMS" type="xs:integer"/>
<xs:element name="DATASTORES">
<xs:complexType>

View File

@ -78,6 +78,7 @@
<xs:element name="SNAPSHOTS">
<xs:complexType>
<xs:sequence>
<xs:element name="ALLOW_ORPHANS" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="SNAPSHOT" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>

View File

@ -41,6 +41,9 @@ onehost create host01 --im dummy --vm dummy
onehost create host02 --im dummy --vm dummy
onehost create host03 --im dummy --vm dummy
#Wait to monitor hosts
sleep 30
onecluster addhost newcluster host03
for i in `onehost list | tail -n +2 | tr -s ' ' | cut -f2 -d ' '`; do

View File

@ -72,9 +72,6 @@
<xs:sequence>
<xs:element name="OID" type="xs:integer"/>
<xs:element name="SEQ" type="xs:integer"/>
<xs:element name="UID" type="xs:integer"/>
<xs:element name="GID" type="xs:integer"/>
<xs:element name="REQUEST_ID" type="xs:string"/>
<xs:element name="HOSTNAME" type="xs:string"/>
<xs:element name="HID" type="xs:integer"/>
<xs:element name="CID" type="xs:integer"/>
@ -138,6 +135,9 @@
MONITOR_ACTION = 44
-->
<xs:element name="ACTION" type="xs:integer"/>
<xs:element name="UID" type="xs:integer"/>
<xs:element name="GID" type="xs:integer"/>
<xs:element name="REQUEST_ID" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>