1. Overview of the Oracle VM Server for SPARC Software
2. Installing and Enabling Software
4. Setting Up Services and the Control Domain
12. Performing Other Administration Tasks
A. Oracle VM Server for SPARC Physical-to-Virtual Conversion Tool
B. Oracle VM Server for SPARC Configuration Assistant
C. Logical Domains Manager Discovery
D. Using the XML Interface With the Logical Domains Manager
E. Logical Domains Manager XML Schemas
The ovf-virtualhardware.xsc Schema
Example E-3 The ovf-envelope.xsd Schema
<?xml version="1.0" encoding="UTF-8"?> <xs:schema targetNamespace="/var/opt/SUNWldom/envelope" xmlns:ovf="/var/opt/SUNWldom/envelope" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <!-- Include virtual hardware schema --> <xs:include schemaLocation="./ovf-section.xsd"/> <xs:include schemaLocation="./cim-virtualhardware.xsd"/> <xs:include schemaLocation="./ovf-core.xsd"/> <!-- Root element of a OVF package--> <xs:element name="Envelope" type="ovf:Envelope_Type"/> <xs:complexType name="Envelope_Type"> <xs:sequence> <!--- References to all external files --> <xs:element name="References" type="ovf:References_Type"/> <!-- Package level meta-data --> <xs:element name="Section" type="ovf:Section_Type" minOccurs="0" maxOccurs="unbounded"/> <!-- Content. A virtual machine or a vService --> <xs:element name="Content" type="ovf:Entity_Type" minOccurs="0" maxOccurs="unbounded"/> <xs:any namespace="##targetNamespace" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> <xs:attribute name="signed" type="xs:boolean" use="optional"/> <xs:attribute name="manifest" type="xs:boolean" use="optional"/> <xs:anyAttribute namespace="##any"/> </xs:complexType> <xs:complexType name="References_Type"> <xs:sequence> <xs:element name="File" type="ovf:File_Type" minOccurs="0" maxOccurs="unbounded"/> <xs:any namespace="##targetNamespace" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> <xs:anyAttribute namespace="##any"/> </xs:complexType> <!--Type for an external reference to a resource --> <xs:complexType name="File_Type"> <xs:sequence> <xs:any namespace="##targetNamespace" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> <!-- Reference key used in other parts of the package --> <xs:attribute name="id" type="xs:string" use="required"/> <!-- Same as using a single part element --> <xs:attribute name="href" type="xs:string" use="required"/> <!-- Size in bytes of the files (if known) --> <xs:attribute name="size" type="xs:integer" use="optional"/> <!-- Estimated size in bytes of the files (if a good guess is known) --> <xs:attribute name="estSize" type="xs:integer" use="optional"/> <!-- Compression type (gzip or bzip2) --> <xs:attribute name="compression" type="xs:string" use="optional"/> <!-- Chunk size (except of last chunk) --> <xs:attribute name="chunkSize" type="xs:long" use="optional"/> <xs:anyAttribute namespace="##any"/> </xs:complexType> <!-- Base class for an entity --> <xs:complexType name="Entity_Type" abstract="true"> <xs:sequence> <xs:element name="Info" type="ovf:Info_Type" minOccurs="0" maxOccurs="unbounded"/> <xs:element name="Section" type="ovf:Section_Type" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> <xs:attribute name="id" type="xs:string" use="required"/> </xs:complexType> <!-- A Virtual Machine Entity --> <xs:complexType name="VirtualSystem_Type"> <xs:complexContent> <xs:extension base="ovf:Entity_Type"> </xs:extension> </xs:complexContent> </xs:complexType> <!-- A Composite Service --> <xs:complexType name="VirtualSystemCollection_Type"> <xs:complexContent> <xs:extension base="ovf:Entity_Type"> <xs:sequence> <xs:element name="Content" type="ovf:Entity_Type" minOccurs="0" maxOccurs="unbounded"/> <xs:any namespace="##targetNamespace" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> </xs:schema>