Package org.jclouds.ovf
Class VirtualHardwareSection
- java.lang.Object
-
- org.jclouds.ovf.Section<VirtualHardwareSection>
-
- org.jclouds.ovf.VirtualHardwareSection
-
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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VirtualHardwareSection.Builder
-
Field Summary
Fields Modifier and Type Field Description protected Set<ResourceAllocationSettingData>
items
protected Set<String>
transports
protected VirtualSystemSettingData
virtualSystem
-
Constructor Summary
Constructors Constructor Description VirtualHardwareSection(String info, Iterable<String> transports, VirtualSystemSettingData virtualSystem, Iterable<? extends ResourceAllocationSettingData> items)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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()
-
-
-
Field Detail
-
virtualSystem
protected final VirtualSystemSettingData virtualSystem
-
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 classSection<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 classSection<VirtualHardwareSection>
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classSection<VirtualHardwareSection>
-
toString
public String toString()
- Overrides:
toString
in classSection<VirtualHardwareSection>
-
-