org.jclouds.cloudstack.compute.strategy
Class AdvancedNetworkOptionsConverter

java.lang.Object
  extended by org.jclouds.cloudstack.compute.strategy.AdvancedNetworkOptionsConverter
All Implemented Interfaces:
OptionsConverter

public class AdvancedNetworkOptionsConverter
extends Object
implements OptionsConverter

Convert template options into DeployVirtualMachineOptions, when the target zone has advanced networking.

Author:
Richard Downer

Constructor Summary
AdvancedNetworkOptionsConverter()
           
 
Method Summary
 DeployVirtualMachineOptions apply(CloudStackTemplateOptions templateOptions, Map<Long,Network> networks, long zoneId, DeployVirtualMachineOptions options)
          Convert a CloudStackTemplateOptions and apply to a DeployVirtualMachineOptions instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdvancedNetworkOptionsConverter

public AdvancedNetworkOptionsConverter()
Method Detail

apply

public DeployVirtualMachineOptions apply(CloudStackTemplateOptions templateOptions,
                                         Map<Long,Network> networks,
                                         long zoneId,
                                         DeployVirtualMachineOptions options)
Description copied from interface: OptionsConverter
Convert a CloudStackTemplateOptions and apply to a DeployVirtualMachineOptions instance.

Specified by:
apply in interface OptionsConverter
Parameters:
templateOptions - the input set of options
networks - the networks available
zoneId - the zone of the new virtual machine
options - where the resulting set of options will be applied
Returns:
same as "options" parameter


Copyright © 2009-2012 jclouds. All Rights Reserved.