114 lines
6 KiB
XML
114 lines
6 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="VM_POOL">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element name="VM" minOccurs="0" maxOccurs="unbounded">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element name="ID" type="xs:integer"/>
|
|
<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="NAME" type="xs:string"/>
|
|
<xs:element name="LAST_POLL" type="xs:integer"/>
|
|
<xs:element name="STATE" type="xs:integer"/>
|
|
<xs:element name="LCM_STATE" type="xs:integer"/>
|
|
<xs:element name="RESCHED" type="xs:integer"/>
|
|
<xs:element name="STIME" type="xs:integer"/>
|
|
<xs:element name="ETIME" type="xs:integer"/>
|
|
<xs:element name="DEPLOY_ID" type="xs:string"/>
|
|
<xs:element name="TEMPLATE">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
|
|
<xs:element name="DISK" minOccurs="0" maxOccurs="unbounded">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
|
|
<xs:element name="VCENTER_DS_REF" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
|
<xs:element name="VCENTER_INSTANCE_ID" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
|
<xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
<xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
|
|
<xs:element name="NIC" minOccurs="0" maxOccurs="unbounded">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
|
|
<xs:element name="VCENTER_INSTANCE_ID" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
|
<xs:element name="VCENTER_NET_REF" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
|
<xs:element name="VCENTER_PORTGROUP_TYPE" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
<xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
<xs:element name="MONITORING" minOccurs="0" maxOccurs="1">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
<xs:element name="USER_TEMPLATE">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
<xs:element name="HISTORY_RECORDS">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element name="HISTORY" maxOccurs="unbounded" minOccurs="0">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element name="OID" type="xs:integer"/>
|
|
<xs:element name="SEQ" type="xs:integer"/>
|
|
<xs:element name="HOSTNAME" type="xs:string"/>
|
|
<xs:element name="HID" type="xs:integer"/>
|
|
<xs:element name="CID" type="xs:integer"/>
|
|
<xs:element name="DS_ID" type="xs:integer"/>
|
|
<xs:element name="ACTION" type="xs:integer"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
<xs:element name="SNAPSHOTS" minOccurs="0" maxOccurs="unbounded">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element name="ALLOW_ORPHANS" type="xs:string"/>
|
|
<xs:element name="CURRENT_BASE" type="xs:integer"/>
|
|
<xs:element name="DISK_ID" type="xs:integer"/>
|
|
<xs:element name="NEXT_SNAPSHOT" type="xs:integer"/>
|
|
<xs:element name="SNAPSHOT" minOccurs="0" maxOccurs="unbounded">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element name="ACTIVE" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
|
<xs:element name="CHILDREN" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
|
<xs:element name="DATE" type="xs:integer"/>
|
|
<xs:element name="ID" type="xs:integer"/>
|
|
<xs:element name="NAME" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
|
<xs:element name="PARENT" type="xs:integer"/>
|
|
<xs:element name="SIZE" type="xs:integer"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
</xs:schema>
|