Interface OptionsConverter
-
- All Known Implementing Classes:
AdvancedNetworkOptionsConverter,BasicNetworkOptionsConverter
public interface OptionsConverterConvert template options into DeployVirtualMachineOptions. Expressed as an interface, because in CloudStack different zone network types have different requirements when it comes to networks and security groups.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeployVirtualMachineOptionsapply(CloudStackTemplateOptions templateOptions, Map<String,Network> networks, String zoneId, DeployVirtualMachineOptions options)Convert a CloudStackTemplateOptions and apply to a DeployVirtualMachineOptions instance.
-
-
-
Method Detail
-
apply
DeployVirtualMachineOptions apply(CloudStackTemplateOptions templateOptions, Map<String,Network> networks, String zoneId, DeployVirtualMachineOptions options)
Convert a CloudStackTemplateOptions and apply to a DeployVirtualMachineOptions instance.- 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
-
-