org.jclouds.cloudstack.compute.strategy
Interface OptionsConverter
- All Known Implementing Classes:
- AdvancedNetworkOptionsConverter, BasicNetworkOptionsConverter
public interface OptionsConverter
Convert 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.
- Author:
- Richard Downer
apply
DeployVirtualMachineOptions apply(CloudStackTemplateOptions templateOptions,
Map<Long,Network> networks,
long 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
Copyright © 2009-2012 jclouds. All Rights Reserved.