137 lines
7.5 KiB
XML
137 lines
7.5 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="VNET">
|
|
<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" 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>
|
|
<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>
|
|
<xs:element name="CLUSTERS">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element name="ID" type="xs:integer" minOccurs="0" maxOccurs="unbounded"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
<xs:element name="BRIDGE" type="xs:string"/>
|
|
<xs:element name="BRIDGE_TYPE" type="xs:string" minOccurs="0"/>
|
|
<xs:element name="PARENT_NETWORK_ID" type="xs:string"/>
|
|
<xs:element name="VN_MAD" type="xs:string"/>
|
|
<xs:element name="PHYDEV" type="xs:string"/>
|
|
<xs:element name="VLAN_ID" type="xs:string" minOccurs="0"/>
|
|
<xs:element name="OUTER_VLAN_ID" type="xs:string" minOccurs="0"/>
|
|
<xs:element name="VLAN_ID_AUTOMATIC" type="xs:string"/>
|
|
<xs:element name="OUTER_VLAN_ID_AUTOMATIC" type="xs:string"/>
|
|
<xs:element name="USED_LEASES" type="xs:integer"/>
|
|
<xs:element name="VROUTERS">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element name="ID" type="xs:integer" minOccurs="0" maxOccurs="unbounded"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
<xs:element name="TEMPLATE">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
|
|
<xs:element name="CONTEXT_FORCE_IPV4" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
|
<xs:element name="DNS" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
|
<xs:element name="GATEWAY" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
|
<xs:element name="GATEWAY6" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
|
<xs:element name="GUEST_MTU" type="xs:int" minOccurs="0" maxOccurs="1"/>
|
|
<xs:element name="NETWORK_ADDRESS" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
|
<xs:element name="NETWORK_MASK" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
|
<xs:element name="SEARCH_DOMAIN" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
|
<xs:element name="VCENTER_FROM_WILD" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
|
<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:element name="VCENTER_TEMPLATE_REF" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
|
<xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
<xs:element name="AR_POOL">
|
|
<xs:complexType>
|
|
<xs:sequence minOccurs="0">
|
|
<xs:element name="AR" minOccurs="0" maxOccurs="unbounded">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element name="AR_ID" type="xs:string"/>
|
|
<xs:element name="GLOBAL_PREFIX" type="xs:string" minOccurs="0"/>
|
|
<xs:element name="IP" type="xs:string" minOccurs="0"/>
|
|
<xs:element name="MAC" type="xs:string"/>
|
|
<xs:element name="PARENT_NETWORK_AR_ID" type="xs:string" minOccurs="0"/>
|
|
<xs:element name="SIZE" type="xs:integer"/>
|
|
<xs:element name="TYPE" type="xs:string"/>
|
|
<xs:element name="ULA_PREFIX" type="xs:string" minOccurs="0"/>
|
|
<xs:element name="VN_MAD" type="xs:string" minOccurs="0"/>
|
|
<xs:element name="MAC_END" type="xs:string" minOccurs="0"/>
|
|
<xs:element name="IP_END" type="xs:string" minOccurs="0"/>
|
|
<xs:element name="IP6_ULA" type="xs:string" minOccurs="0"/>
|
|
<xs:element name="IP6_ULA_END" type="xs:string" minOccurs="0"/>
|
|
<xs:element name="IP6_GLOBAL" type="xs:string" minOccurs="0"/>
|
|
<xs:element name="IP6_GLOBAL_END" type="xs:string" minOccurs="0"/>
|
|
<xs:element name="IP6" type="xs:string" minOccurs="0"/>
|
|
<xs:element name="IP6_END" type="xs:string" minOccurs="0"/>
|
|
<xs:element name="USED_LEASES" type="xs:string"/>
|
|
<xs:element name="LEASES" minOccurs="0" maxOccurs="1">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element name="LEASE" minOccurs="0" maxOccurs="unbounded">
|
|
<xs:complexType>
|
|
<xs:all>
|
|
<xs:element name="IP" type="xs:string" minOccurs="0"/>
|
|
<xs:element name="IP6" type="xs:string" minOccurs="0"/>
|
|
<xs:element name="IP6_GLOBAL" type="xs:string" minOccurs="0"/>
|
|
<xs:element name="IP6_LINK" type="xs:string" minOccurs="0"/>
|
|
<xs:element name="IP6_ULA" type="xs:string" minOccurs="0"/>
|
|
<xs:element name="MAC" type="xs:string"/>
|
|
<xs:element name="VM" type="xs:integer" minOccurs="0"/>
|
|
<xs:element name="VNET" type="xs:integer" minOccurs="0"/>
|
|
<xs:element name="VROUTER" type="xs:integer" minOccurs="0"/>
|
|
</xs:all>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
</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>
|