org.jclouds.dmtf.ovf
Class VirtualHardwareSection

java.lang.Object
  extended by org.jclouds.dmtf.ovf.SectionType
      extended by org.jclouds.dmtf.ovf.VirtualHardwareSection
Direct Known Subclasses:
VirtualHardwareSection

public class VirtualHardwareSection
extends SectionType

The virtual hardware required by a virtual machine is specified in VirtualHardwareSection. This specification supports abstract or incomplete hardware descriptions in which only the major devices are described. The hypervisor is allowed to create additional virtual hardware controllers and devices, as long as the required devices listed in the descriptor are realized.

Author:
Adrian Cole, Adam Lowe, grkvlt@apache.org

Nested Class Summary
static class VirtualHardwareSection.Builder<B extends VirtualHardwareSection.Builder<B>>
           
 
Field Summary
protected  Set<? extends ResourceAllocationSettingData> items
           
protected  String transport
           
protected  VirtualSystemSettingData virtualSystem
           
 
Constructor Summary
protected VirtualHardwareSection()
           
protected VirtualHardwareSection(VirtualHardwareSection.Builder<?> builder)
           
 
Method Summary
static VirtualHardwareSection.Builder<?> builder()
           
 boolean equals(Object obj)
           
 Set<? extends ResourceAllocationSettingData> getItems()
           
 VirtualSystemSettingData getSystem()
           
 String getTransport()
          Comma-separated list of supported transports types for the OVF descriptor.
 int hashCode()
           
protected  com.google.common.base.Objects.ToStringHelper string()
           
 VirtualHardwareSection.Builder<?> toBuilder()
           
 
Methods inherited from class org.jclouds.dmtf.ovf.SectionType
getInfo, isRequired, setInfo, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

virtualSystem

protected VirtualSystemSettingData virtualSystem

transport

protected String transport

items

protected Set<? extends ResourceAllocationSettingData> items
Constructor Detail

VirtualHardwareSection

protected VirtualHardwareSection(VirtualHardwareSection.Builder<?> builder)

VirtualHardwareSection

protected VirtualHardwareSection()
Method Detail

builder

public static VirtualHardwareSection.Builder<?> builder()

toBuilder

public VirtualHardwareSection.Builder<?> toBuilder()

getTransport

public String getTransport()
Comma-separated list of supported transports types for the OVF descriptor. Transport types define methods by which the environment document is communicated from the deployment platform to the guest software.

To enable interoperability, this specification defines an "iso" transport type which all implementations that support CD-ROM devices are required to support. The iso transport communicates the environment 1346 document by making a dynamically generated ISO image available to the guest software. To support the iso transport type, prior to booting a virtual machine, an implementation shall make an ISO 9660 read-only disk image available as backing for a disconnected CD-ROM. If the iso transport is selected for a VirtualHardwareSection, at least one disconnected CD-ROM device shall be present in this section.

Support for the "iso" transport type is not a requirement for virtual hardware architectures or guest 1351 operating systems which do not have CD-ROM device support.

Returns:

getSystem

public VirtualSystemSettingData getSystem()

getItems

public Set<? extends ResourceAllocationSettingData> getItems()

hashCode

public int hashCode()
Overrides:
hashCode in class SectionType

equals

public boolean equals(Object obj)
Overrides:
equals in class SectionType

string

protected com.google.common.base.Objects.ToStringHelper string()
Overrides:
string in class SectionType


Copyright © 2009-2012 jclouds. All Rights Reserved.