Class BasicNetworkOptionsConverter
- java.lang.Object
-
- org.jclouds.cloudstack.compute.strategy.BasicNetworkOptionsConverter
-
- All Implemented Interfaces:
OptionsConverter
public class BasicNetworkOptionsConverter extends Object implements OptionsConverter
Convert template options into DeployVirtualMachineOptions, when the target zone has basic networking.
-
-
Constructor Summary
Constructors Constructor Description BasicNetworkOptionsConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeployVirtualMachineOptions
apply(CloudStackTemplateOptions templateOptions, Map<String,Network> networks, String zoneId, DeployVirtualMachineOptions options)
Convert a CloudStackTemplateOptions and apply to a DeployVirtualMachineOptions instance.
-
-
-
Method Detail
-
apply
public DeployVirtualMachineOptions apply(CloudStackTemplateOptions templateOptions, Map<String,Network> networks, String zoneId, DeployVirtualMachineOptions options)
Description copied from interface:OptionsConverter
Convert a CloudStackTemplateOptions and apply to a DeployVirtualMachineOptions instance.- Specified by:
apply
in interfaceOptionsConverter
- Parameters:
templateOptions
- the input set of optionsnetworks
- the networks availablezoneId
- the zone of the new virtual machineoptions
- where the resulting set of options will be applied- Returns:
- same as "options" parameter
-
-