1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-08 21:17:43 +03:00

M #-: Fix xml-schema for backups (#2363)

This commit is contained in:
Pavel Czerný 2022-11-23 09:58:40 +01:00 committed by GitHub
parent e831aadc90
commit d8d190c5ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 33 additions and 3 deletions

View File

@ -176,9 +176,15 @@
<xs:element name="BACKUP_CONFIG" minOccurs="1" maxOccurs="1">
<xs:complexType>
<xs:sequence>
<xs:element name="BACKUP_VOLATILE" 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:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="BACKUP_VOLATILE" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="FS_FREEZE" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="INCREMENTAL_BACKUP_ID" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="KEEP_LAST" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="LAST_BACKUP_ID" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="LAST_BACKUP_SIZE" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="LAST_DATASTORE_ID" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="LAST_INCREMENT_ID" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="MODE" type="xs:string" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
</xs:complexType>
</xs:element>

View File

@ -117,6 +117,24 @@
</xs:sequence>
</xs:complexType>
</xs:element>
<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>
</xs:sequence>
</xs:complexType>
</xs:element>

View File

@ -319,7 +319,13 @@
<xs:sequence>
<xs:element name="BACKUP_VOLATILE" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="FS_FREEZE" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="INCREMENTAL_BACKUP_ID" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="KEEP_LAST" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="LAST_BACKUP_ID" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="LAST_BACKUP_SIZE" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="LAST_DATASTORE_ID" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="LAST_INCREMENT_ID" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="MODE" type="xs:string" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
</xs:complexType>
</xs:element>