mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-11 05:17:41 +03:00
6bbfbb03e4
Includes the following changes: - xml-schema for Backup Job and Scheduled Actions - GO, Java api - Deprecate onevm update-chart, delete-chart * The commands are replaced by sched-update and sched-delete * Refactor method deprecate_command, it's still possible to run the command * Delete 'shutdown' and 'delete' commands deprecated years ago * Fix --verbose option for sched-update and sched-delete - Re-implementation of scheduled actions, now are managed and executed by oned - Backup Job objects, API, and CLI commands
42 lines
2.1 KiB
XML
42 lines
2.1 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:include schemaLocation="shared.xsd"/>
|
|
<xs:element name="BACKUPJOB">
|
|
<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="LOCK" type="LOCK" minOccurs="0" maxOccurs="1"/>
|
|
<xs:element name="PERMISSIONS" type="PERMISSIONS"/>
|
|
<xs:element name="PRIORITY" type="xs:integer"/>
|
|
<xs:element name="LAST_BACKUP_TIME" type="xs:integer"/>
|
|
<xs:element name="LAST_BACKUP_DURATION" type="xs:integer"/>
|
|
<xs:element name="SCHED_ACTIONS" type="IDS"/>
|
|
<xs:element name="UPDATED_VMS" type="IDS"/>
|
|
<xs:element name="OUTDATED_VMS" type="IDS"/>
|
|
<xs:element name="BACKING_UP_VMS" type="IDS"/>
|
|
<xs:element name="ERROR_VMS" type="IDS"/>
|
|
<xs:element name="TEMPLATE">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element name="BACKUP_VMS" type="xs:string"/>
|
|
<xs:element name="BACKUP_VOLATILE" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
|
<xs:element name="DATASTORE_ID" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
|
<xs:element name="EXECUTION" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
|
<xs:element name="FS_FREEZE" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
|
<xs:element name="KEEP_LAST" type="xs:integer" minOccurs="0" maxOccurs="1"/>
|
|
<xs:element name="MODE" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
|
<xs:element name="SCHED_ACTION" type="SCHED_ACTION" minOccurs="0" maxOccurs="unbounded"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
</xs:schema>
|