1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-22 13:33:52 +03:00

M #~: Add image and vnet to hook state xsd (#2085)

This commit is contained in:
Sergio Betanzos 2022-05-25 18:58:36 +02:00 committed by GitHub
parent 431ff6d699
commit ef51e3876f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,15 +10,19 @@
<xs:restriction base="xs:string">
<xs:enumeration value="VM"/>
<xs:enumeration value="HOST"/>
<xs:enumeration value="IMAGE"/>
<xs:enumeration value="VNET"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="STATE" type="xs:string"/>
<xs:element name="LCM_STATE" type="xs:string" maxOccurs="1" minOccurs="0"/>
<xs:element name="REMOTE_HOST" type="xs:string" maxOccurs="1" minOccurs="0"/>
<!-- The template of the resource (VM or Host) is included here -->
<!-- The template of the resource (VM, Host, Image or VNet) is included here -->
<xs:element ref="HOST" maxOccurs="1" minOccurs="0"/>
<xs:element ref="VM" maxOccurs="1" minOccurs="0"/>
<xs:element ref="IMAGE" maxOccurs="1" minOccurs="0"/>
<xs:element ref="VNET" maxOccurs="1" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>