org.jclouds.ovf
Class VirtualHardwareSection
java.lang.Object
org.jclouds.ovf.Section<VirtualHardwareSection>
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
Fields inherited from class org.jclouds.ovf.Section |
info |
virtualSystem
protected final VirtualSystemSettingData virtualSystem
transports
protected final Set<String> transports
items
protected final Set<ResourceAllocationSettingData> items
VirtualHardwareSection
public VirtualHardwareSection(String info,
Iterable<String> transports,
VirtualSystemSettingData virtualSystem,
Iterable<? extends ResourceAllocationSettingData> items)
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.