org.jclouds.ovf
Class VirtualHardwareSection

java.lang.Object
  extended by org.jclouds.ovf.Section<VirtualHardwareSection>
      extended by org.jclouds.ovf.VirtualHardwareSection
Direct Known Subclasses:
VCloudVirtualHardwareSection

public class VirtualHardwareSection
extends Section<VirtualHardwareSection>

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

Nested Class Summary
static class VirtualHardwareSection.Builder
           
 
Field Summary
protected  Set<ResourceAllocationSettingData> items
           
protected  Set<String> transports
           
protected  VirtualSystemSettingData virtualSystem
           
 
Fields inherited from class org.jclouds.ovf.Section
info
 
Constructor Summary
VirtualHardwareSection(String info, Iterable<String> transports, VirtualSystemSettingData virtualSystem, Iterable<? extends ResourceAllocationSettingData> items)
           
 
Method Summary
static VirtualHardwareSection.Builder builder()
           
 boolean equals(Object obj)
           
 Set<? extends ResourceAllocationSettingData> getItems()
           
 VirtualSystemSettingData getSystem()
           
 Set<String> getTransports()
          transport types define methods by which the environment document is communicated from the deployment platform to the guest software.
 int hashCode()
           
 VirtualHardwareSection.Builder toBuilder()
          
 String toString()
           
 
Methods inherited from class org.jclouds.ovf.Section
getInfo
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

virtualSystem

protected final VirtualSystemSettingData virtualSystem

transports

protected final Set<String> transports

items

protected final Set<ResourceAllocationSettingData> items
Constructor Detail

VirtualHardwareSection

public VirtualHardwareSection(String info,
                              Iterable<String> transports,
                              VirtualSystemSettingData virtualSystem,
                              Iterable<? extends ResourceAllocationSettingData> items)
Method Detail

builder

public static VirtualHardwareSection.Builder builder()

toBuilder

public VirtualHardwareSection.Builder toBuilder()

Overrides:
toBuilder in class Section<VirtualHardwareSection>

getTransports

public Set<String> getTransports()
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 Section<VirtualHardwareSection>

equals

public boolean equals(Object obj)
Overrides:
equals in class Section<VirtualHardwareSection>

toString

public String toString()
Overrides:
toString in class Section<VirtualHardwareSection>


Copyright © 2009-2011 jclouds. All Rights Reserved.