4747import com .cloud .exception .VirtualMachineMigrationException ;
4848import com .cloud .host .Host ;
4949import com .cloud .hypervisor .Hypervisor .HypervisorType ;
50+ import com .cloud .network .Network .IpAddresses ;
5051import com .cloud .offering .ServiceOffering ;
5152import com .cloud .storage .StoragePool ;
5253import com .cloud .storage .Volume ;
@@ -228,7 +229,7 @@ UserVm startVirtualMachine(StartVMCmd cmd) throws StorageUnavailableException, E
228229 * @throws InsufficientResourcesException
229230 */
230231 UserVm createBasicSecurityGroupVirtualMachine (DataCenter zone , ServiceOffering serviceOffering , VirtualMachineTemplate template , List <Long > securityGroupIdList , Account owner , String hostName ,
231- String displayName , Long diskOfferingId , Long diskSize , String group , HypervisorType hypervisor , String userData , String sshKeyPair , Map <Long , String > requestedIps , String defaultIp , String keyboard )
232+ String displayName , Long diskOfferingId , Long diskSize , String group , HypervisorType hypervisor , String userData , String sshKeyPair , Map <Long , IpAddresses > requestedIps , IpAddresses defaultIp , String keyboard )
232233 throws InsufficientCapacityException , ConcurrentOperationException , ResourceUnavailableException , StorageUnavailableException , ResourceAllocationException ;
233234
234235 /**
@@ -275,7 +276,7 @@ UserVm createBasicSecurityGroupVirtualMachine(DataCenter zone, ServiceOffering s
275276 * - name of the ssh key pair used to login to the virtual machine
276277 * @param requestedIps
277278 * TODO
278- * @param defaultIp
279+ * @param defaultIps
279280 * TODO
280281 * @param accountName
281282 * - an optional account for the virtual machine. Must be used with domainId
@@ -293,8 +294,8 @@ UserVm createBasicSecurityGroupVirtualMachine(DataCenter zone, ServiceOffering s
293294 * @throws InsufficientResourcesException
294295 */
295296 UserVm createAdvancedSecurityGroupVirtualMachine (DataCenter zone , ServiceOffering serviceOffering , VirtualMachineTemplate template , List <Long > networkIdList , List <Long > securityGroupIdList ,
296- Account owner , String hostName , String displayName , Long diskOfferingId , Long diskSize , String group , HypervisorType hypervisor , String userData , String sshKeyPair , Map <Long , String > requestedIps ,
297- String defaultIp , String keyboard )
297+ Account owner , String hostName , String displayName , Long diskOfferingId , Long diskSize , String group , HypervisorType hypervisor , String userData , String sshKeyPair , Map <Long , IpAddresses > requestedIps ,
298+ IpAddresses defaultIps , String keyboard )
298299 throws InsufficientCapacityException , ConcurrentOperationException , ResourceUnavailableException , StorageUnavailableException , ResourceAllocationException ;
299300
300301 /**
@@ -339,8 +340,7 @@ UserVm createAdvancedSecurityGroupVirtualMachine(DataCenter zone, ServiceOfferin
339340 * - name of the ssh key pair used to login to the virtual machine
340341 * @param requestedIps
341342 * TODO
342- * @param defaultIp
343- * TODO
343+ * @param defaultIps TODO
344344 * @param accountName
345345 * - an optional account for the virtual machine. Must be used with domainId
346346 * @param domainId
@@ -357,7 +357,7 @@ UserVm createAdvancedSecurityGroupVirtualMachine(DataCenter zone, ServiceOfferin
357357 * @throws InsufficientResourcesException
358358 */
359359 UserVm createAdvancedVirtualMachine (DataCenter zone , ServiceOffering serviceOffering , VirtualMachineTemplate template , List <Long > networkIdList , Account owner , String hostName ,
360- String displayName , Long diskOfferingId , Long diskSize , String group , HypervisorType hypervisor , String userData , String sshKeyPair , Map <Long , String > requestedIps , String defaultIp , String keyboard )
360+ String displayName , Long diskOfferingId , Long diskSize , String group , HypervisorType hypervisor , String userData , String sshKeyPair , Map <Long , IpAddresses > requestedIps , IpAddresses defaultIps , String keyboard )
361361 throws InsufficientCapacityException , ConcurrentOperationException , ResourceUnavailableException , StorageUnavailableException , ResourceAllocationException ;
362362
363363 /**
0 commit comments