1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-22 13:33:52 +03:00
one/share/doc/xsd/showback.xsd
Pavel Czerný 38d06a92aa
F #5561: Showback computes running hours (#1527)
(cherry picked from commit af9ea24ec4)
2021-10-15 17:41:02 +02:00

30 lines
1.4 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
targetNamespace="http://opennebula.org/XMLSchema" xmlns="http://opennebula.org/XMLSchema">
<xs:element name="SHOWBACK_RECORDS">
<xs:complexType>
<xs:sequence maxOccurs="1" minOccurs="1">
<xs:element name="SHOWBACK" maxOccurs="unbounded" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="VMID" type="xs:integer"/>
<xs:element name="VMNAME" type="xs:string"/>
<xs:element name="UID" type="xs:integer"/>
<xs:element name="GID" type="xs:integer"/>
<xs:element name="UNAME" type="xs:string"/>
<xs:element name="GNAME" type="xs:string"/>
<xs:element name="YEAR" type="xs:integer"/>
<xs:element name="MONTH" type="xs:integer"/>
<xs:element name="CPU_COST" type="xs:float"/>
<xs:element name="MEMORY_COST" type="xs:float"/>
<xs:element name="DISK_COST" type="xs:float"/>
<xs:element name="TOTAL_COST" type="xs:float"/>
<xs:element name="HOURS" type="xs:float"/>
<xs:element name="RHOURS" type="xs:float" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>