EasyManuals Logo

VMware VCLOUD API 1.0 - API User Manual

VMware VCLOUD API 1.0 - API
212 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #205 background imageLoading...
Page #205 background image
VMware, Inc. 205
Appendix A OVF and the vCloud API
Virtual Disk Files
VirtualdiskfileinformationextractedfromtheReferencessectionoftheOVFpackageisusedtopopulate
theFileselementoftheVAppTemplate.AnOVFpackagecanincludeexactlyoneReferencessection.Itlists
allthefilesrequiredbyalltheVirtualSystemsdefinedinthepackage,includingvirtualdisksand
localespecificresourcefiles.VirtualdiskfilesareenumeratedagainintheDiskSectionelementofthe
package,onefileperDiskelement.Diskelementsincludeadditionalinformationaboutthecapacityand
formatofeachdisk.(Diskelementscanalsospecifyemptyvirtualdisk,inwhichcasetheyarenotassociated
withavirtualdiskfile.)
Example A1showshowavirtualdiskreferenceappearsinanEnvelope.(Inthisexample,attributesand
otherelementsintheEnvelopehavebeenomittedforclarity.)ThehrefvalueoftheFileelementinthe
Referencessectionspecifiesthefilepathnamerelativetothe
locationoftheOVFdescriptorfileinwhichthe
Envelopeappears.(Inthiscase,thediskfile,SimpleVM-disk1.vmdk,isinthesamefolderastheOVF
descriptor.)TheDiskelementisthenassociatedwithavirtualmachine,asaHostResourceofa
VirtualSystem,referencedbyitsovf:diskIdattributevalue.
Example A-1. Virtual Disks in an OVF Envelope
<Envelope ...
...
<References>
<File ovf:href="SimpleVM-disk1.vmdk" ovf:id="file1" ovf:size="68096"/>
</References>
...
<DiskSection>
<Info>Virtual disk information</Info>
<Disk ovf:capacity="8589934593" ovf:capacityAllocationUnits="byte * 2^20"
ovf:diskId="vmdisk1" ovf:fileRef="file1"
ovf:format="http://www.vmware.com/interfaces/specifications/vmdk.html#str
eamOptimized"/>
</DiskSection>
...
<VirtualHardwareSection>
<VirtualSystem>
...
<Item>
...
<rasd:ElementName>Hard Disk 1</rasd:ElementName>
<rasd:HostResource>ovf:/disk/vmdisk1</rasd:HostResource>
...
</Item>
...
</VirtualHardwareSection>
</VirtualSystem>
</Envelope>
Networks
TheNetworkSectionelementofanOVFEnvelopelistsallthelogicalnetworksrequiredbythepackage.Each
networkisdefinedinthissectionbyanameandcanhaveanoptionaldescription.Logicalnetworknamesare
usedwhenspecifyingconnectiondetailsforavirtualNIC.
TheOVFisextensible,andthe
vCloudAPIhasimplementedextensionsthatenableamorecomprehensive
specificationofnetworkfeatures,suchasfirewallandNATrules,thanwhatiscurrentlysupportedbytheOVF
standard.See“NetworkConfig”onpage 165.
Example A2illustratesasubsetofEnvelopeelementsthatspecifyvAppnetworkingconfiguration.
TheOVFNetworkSectionelementspecifiesthenameofthenetwork
ThevCloudAPINetworkConfigSectiondefinesvariousnetworkfeaturessuchasDHCPandfirewall
services.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the VMware VCLOUD API 1.0 - API and is the answer not in the manual?

VMware VCLOUD API 1.0 - API Specifications

General IconGeneral
BrandVMware
ModelVCLOUD API 1.0 - API
CategorySoftware
LanguageEnglish

Related product manuals