BonFIRE logo and link to main BonFIRE site

Previous topic

States of OCCI Resources

Next topic

Default Monitoring Metrics

This Page

BonFIRE OVF Schema DefinitionΒΆ

Here is the XSD file that describe the BonFIRE OVF elements and attributes:

<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2012 (http://www.altova.com) -->
<xs:schema xmlns:bonfire="http://api.bonfire-project.eu/doc/schemas/ovf/extension" xmlns:ovf="http://schemas.dmtf.org/ovf/envelope/1" xmlns:cim="http://schemas.dmtf.org/wbem/wscim/1/common" xmlns:vssd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData" xmlns:rasd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://api.bonfire-project.eu/doc/schemas/ovf/extension" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd"/>
	<xs:import namespace="http://schemas.dmtf.org/ovf/envelope/1" schemaLocation="http://schemas.dmtf.org/ovf/envelope/1/dsp8023_1.1.xsd"/>
	<xs:import/>
	<xs:element name="NetworkMap">
		<xs:annotation>
			<xs:documentation>Usage: This element shall be used only at the extension point of the ovf:NetworkSection element.</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element name="NewNetwork" type="bonfire:NewNetworkType" minOccurs="0" maxOccurs="unbounded"/>
			</xs:sequence>
			<xs:attribute name="ovfNetworkName" type="xs:string"/>
			<xs:attribute name="bonfireNetworkRef" type="xs:string"/>
			<xs:attribute name="location" type="xs:string"/>
		</xs:complexType>
	</xs:element>
	<xs:complexType name="NewNetworkType">
		<xs:sequence>
			<xs:element name="Name" type="xs:string" minOccurs="0"/>
			<xs:element name="Location" type="xs:string"/>
			<xs:element name="Address" type="xs:string"/>
			<xs:element name="Size" type="xs:string"/>
			<xs:element name="Lossrate" type="xs:float" minOccurs="0"/>
			<xs:element name="Bandwidth" type="xs:int" minOccurs="0"/>
			<xs:element name="Latency" type="xs:int" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:element name="InstanceType" type="xs:string">
		<xs:annotation>
			<xs:documentation>Usage: This element shall be used only at the extension point of the ovf:VirtualHardwareSection/ovf:System element</xs:documentation>
		</xs:annotation>
	</xs:element>
	<xs:attribute name="walltime" type="xs:int">
		<xs:annotation>
			<xs:documentation>Usage: This attribute shall be used only at the extension point of the ovf:VirtualSystemCollection attribute on the outermost level</xs:documentation>
		</xs:annotation>
	</xs:attribute>
	<xs:attribute name="location" type="xs:string">
		<xs:annotation>
			<xs:documentation>Usage: This attribute shall be used only at the extension point of the ovf:VirtualSystemCollection attribute on the lower level</xs:documentation>
		</xs:annotation>
	</xs:attribute>
	<xs:attribute name="storagetype" type="xs:string">
		<xs:annotation>
			<xs:documentation>Usage: This element shall be used only at the extension point of the ovf:DiskSection element.</xs:documentation>
		</xs:annotation>
	</xs:attribute>
	<xs:attribute name="ordertype">
		<xs:annotation>
			<xs:documentation>Usage: This element shall be used only at the extension point of the ovf:StartupSection element.</xs:documentation>
		</xs:annotation>
	</xs:attribute>
</xs:schema>

You can download this file here.