2011-12-16 09:49:47 -08:00
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs= "http://www.w3.org/2001/XMLSchema" xmlns= "http://opennebula.org/XMLSchema" elementFormDefault= "qualified" targetNamespace= "http://opennebula.org/XMLSchema" >
<xs:element name= "IMAGE" >
<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" />
2018-03-23 15:58:36 +01:00
<xs:element name= "LOCK" minOccurs= "0" maxOccurs= "1" >
<xs:complexType >
<xs:sequence >
<xs:element name= "LOCKED" type= "xs:integer" />
<xs:element name= "OWNER" type= "xs:integer" />
<xs:element name= "TIME" type= "xs:integer" />
<xs:element name= "REQ_ID" type= "xs:integer" />
</xs:sequence>
</xs:complexType>
</xs:element>
2012-01-12 18:44:36 +01:00
<xs:element name= "PERMISSIONS" minOccurs= "0" maxOccurs= "1" >
<xs:complexType >
<xs:sequence >
<xs:element name= "OWNER_U" type= "xs:integer" />
<xs:element name= "OWNER_M" type= "xs:integer" />
<xs:element name= "OWNER_A" type= "xs:integer" />
<xs:element name= "GROUP_U" type= "xs:integer" />
<xs:element name= "GROUP_M" type= "xs:integer" />
<xs:element name= "GROUP_A" type= "xs:integer" />
<xs:element name= "OTHER_U" type= "xs:integer" />
<xs:element name= "OTHER_M" type= "xs:integer" />
<xs:element name= "OTHER_A" type= "xs:integer" />
</xs:sequence>
</xs:complexType>
</xs:element>
2011-12-16 09:49:47 -08:00
<xs:element name= "TYPE" type= "xs:integer" />
2012-05-11 18:19:13 +02:00
<xs:element name= "DISK_TYPE" type= "xs:integer" />
2011-12-16 09:49:47 -08:00
<xs:element name= "PERSISTENT" type= "xs:integer" />
<xs:element name= "REGTIME" type= "xs:integer" />
<xs:element name= "SOURCE" type= "xs:string" />
<xs:element name= "PATH" type= "xs:string" />
2020-11-20 10:56:39 +01:00
<xs:element name= "FORMAT" type= "xs:string" />
<xs:element name= "FS" type= "xs:string" />
2011-12-16 09:49:47 -08:00
<xs:element name= "SIZE" type= "xs:integer" />
2012-06-25 15:37:56 +02:00
<!-- STATE values,
INIT = 0, Initialization state
READY = 1, Image ready to use
USED = 2, Image in use
DISABLED = 3, Image can not be instantiated by a VM
LOCKED = 4, FS operation for the Image in process
ERROR = 5, Error state the operation FAILED
CLONE = 6, Image is being cloned
DELETE = 7, DS is deleting the image
USED_PERS = 8, Image is in use and persistent
2016-05-27 12:40:04 +02:00
LOCKED_USED = 9, FS operation in progress, VMs waiting
LOCKED_USED_PERS = 10 FS operation in progress, VMs waiting. Persistent
2012-06-25 15:37:56 +02:00
-->
2011-12-16 09:49:47 -08:00
<xs:element name= "STATE" type= "xs:integer" />
2021-02-25 12:26:37 +01:00
<xs:element name= "PREV_STATE" type= "xs:integer" />
2011-12-16 09:49:47 -08:00
<xs:element name= "RUNNING_VMS" type= "xs:integer" />
2012-06-18 16:53:14 +02:00
<xs:element name= "CLONING_OPS" type= "xs:integer" />
<xs:element name= "CLONING_ID" type= "xs:integer" />
2015-07-27 13:29:09 +02:00
<xs:element name= "TARGET_SNAPSHOT" type= "xs:integer" />
2012-04-10 15:58:14 +02:00
<xs:element name= "DATASTORE_ID" type= "xs:integer" />
<xs:element name= "DATASTORE" type= "xs:string" />
2012-10-30 18:34:15 +01:00
<xs:element name= "VMS" >
2016-05-27 12:40:04 +02:00
<xs:complexType >
<xs:sequence >
<xs:element name= "ID" type= "xs:integer" minOccurs= "0" maxOccurs= "unbounded" />
</xs:sequence>
</xs:complexType>
2012-10-30 18:34:15 +01:00
</xs:element>
2012-10-31 17:50:16 +01:00
<xs:element name= "CLONES" >
2016-05-27 12:40:04 +02:00
<xs:complexType >
<xs:sequence >
<xs:element name= "ID" type= "xs:integer" minOccurs= "0" maxOccurs= "unbounded" />
</xs:sequence>
</xs:complexType>
2012-10-31 17:50:16 +01:00
</xs:element>
2016-03-04 16:31:10 +01:00
<xs:element name= "APP_CLONES" >
2016-05-27 12:40:04 +02:00
<xs:complexType >
<xs:sequence >
<xs:element name= "ID" type= "xs:integer" minOccurs= "0" maxOccurs= "unbounded" />
</xs:sequence>
</xs:complexType>
2016-03-04 16:31:10 +01:00
</xs:element>
2018-06-13 15:17:45 +02:00
<xs:element name= "TEMPLATE" >
<xs:complexType >
<xs:sequence >
<xs:any minOccurs= "0" maxOccurs= "unbounded" processContents= "skip" />
<xs:element name= "VCENTER_IMPORTED" type= "xs:string" minOccurs= "0" maxOccurs= "1" />
<xs:any minOccurs= "0" maxOccurs= "unbounded" processContents= "skip" />
</xs:sequence>
</xs:complexType>
</xs:element>
2015-07-27 13:29:09 +02:00
<xs:element name= "SNAPSHOTS" >
<xs:complexType >
<xs:sequence >
2018-03-23 15:58:36 +01:00
<xs:element name= "ALLOW_ORPHANS" type= "xs:string" />
2019-01-03 16:59:32 +01:00
<xs:element name= "CURRENT_BASE" type= "xs:integer" />
2018-10-29 15:13:50 +01:00
<xs:element name= "NEXT_SNAPSHOT" type= "xs:string" />
2015-07-27 13:29:09 +02:00
<xs:element name= "SNAPSHOT" minOccurs= "0" maxOccurs= "unbounded" >
<xs:complexType >
<xs:sequence >
<xs:element name= "CHILDREN" type= "xs:string" minOccurs= "0" maxOccurs= "1" />
<xs:element name= "ACTIVE" 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>
2022-11-23 09:58:40 +01:00
<xs:element name= "BACKUP_INCREMENTS" >
<xs:complexType >
<xs:sequence >
<xs:element name= "INCREMENT" minOccurs= "0" maxOccurs= "unbounded" >
<xs:complexType >
<xs:sequence >
<xs:element name= "DATE" type= "xs:string" />
<xs:element name= "ID" type= "xs:string" />
<xs:element name= "PARENT_ID" type= "xs:integer" minOccurs= "0" maxOccurs= "1" />
<xs:element name= "SIZE" type= "xs:string" />
<xs:element name= "SOURCE" type= "xs:string" />
<xs:element name= "TYPE" type= "xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
2011-12-16 09:49:47 -08:00
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>