5151import com .cloud .exception .VirtualMachineMigrationException ;
5252import com .cloud .host .Host ;
5353import com .cloud .hypervisor .Hypervisor .HypervisorType ;
54+ import com .cloud .network .Network .IpAddresses ;
5455import com .cloud .offering .ServiceOffering ;
5556import com .cloud .storage .StoragePool ;
5657import com .cloud .storage .Volume ;
@@ -232,7 +233,7 @@ UserVm startVirtualMachine(StartVMCmd cmd) throws StorageUnavailableException, E
232233 * @throws InsufficientResourcesException
233234 */
234235 UserVm createBasicSecurityGroupVirtualMachine (DataCenter zone , ServiceOffering serviceOffering , VirtualMachineTemplate template , List <Long > securityGroupIdList , Account owner , String hostName ,
235- String displayName , Long diskOfferingId , Long diskSize , String group , HypervisorType hypervisor , String userData , String sshKeyPair , Map <Long , String > requestedIps , String defaultIp , String keyboard )
236+ String displayName , Long diskOfferingId , Long diskSize , String group , HypervisorType hypervisor , String userData , String sshKeyPair , Map <Long , IpAddresses > requestedIps , IpAddresses defaultIp , String keyboard )
236237 throws InsufficientCapacityException , ConcurrentOperationException , ResourceUnavailableException , StorageUnavailableException , ResourceAllocationException ;
237238
238239 /**
@@ -279,7 +280,7 @@ UserVm createBasicSecurityGroupVirtualMachine(DataCenter zone, ServiceOffering s
279280 * - name of the ssh key pair used to login to the virtual machine
280281 * @param requestedIps
281282 * TODO
282- * @param defaultIp
283+ * @param defaultIps
283284 * TODO
284285 * @param accountName
285286 * - an optional account for the virtual machine. Must be used with domainId
@@ -297,8 +298,8 @@ UserVm createBasicSecurityGroupVirtualMachine(DataCenter zone, ServiceOffering s
297298 * @throws InsufficientResourcesException
298299 */
299300 UserVm createAdvancedSecurityGroupVirtualMachine (DataCenter zone , ServiceOffering serviceOffering , VirtualMachineTemplate template , List <Long > networkIdList , List <Long > securityGroupIdList ,
300- Account owner , String hostName , String displayName , Long diskOfferingId , Long diskSize , String group , HypervisorType hypervisor , String userData , String sshKeyPair , Map <Long , String > requestedIps ,
301- String defaultIp , String keyboard )
301+ Account owner , String hostName , String displayName , Long diskOfferingId , Long diskSize , String group , HypervisorType hypervisor , String userData , String sshKeyPair , Map <Long , IpAddresses > requestedIps ,
302+ IpAddresses defaultIps , String keyboard )
302303 throws InsufficientCapacityException , ConcurrentOperationException , ResourceUnavailableException , StorageUnavailableException , ResourceAllocationException ;
303304
304305 /**
@@ -343,8 +344,7 @@ UserVm createAdvancedSecurityGroupVirtualMachine(DataCenter zone, ServiceOfferin
343344 * - name of the ssh key pair used to login to the virtual machine
344345 * @param requestedIps
345346 * TODO
346- * @param defaultIp
347- * TODO
347+ * @param defaultIps TODO
348348 * @param accountName
349349 * - an optional account for the virtual machine. Must be used with domainId
350350 * @param domainId
@@ -361,7 +361,7 @@ UserVm createAdvancedSecurityGroupVirtualMachine(DataCenter zone, ServiceOfferin
361361 * @throws InsufficientResourcesException
362362 */
363363 UserVm createAdvancedVirtualMachine (DataCenter zone , ServiceOffering serviceOffering , VirtualMachineTemplate template , List <Long > networkIdList , Account owner , String hostName ,
364- String displayName , Long diskOfferingId , Long diskSize , String group , HypervisorType hypervisor , String userData , String sshKeyPair , Map <Long , String > requestedIps , String defaultIp , String keyboard )
364+ String displayName , Long diskOfferingId , Long diskSize , String group , HypervisorType hypervisor , String userData , String sshKeyPair , Map <Long , IpAddresses > requestedIps , IpAddresses defaultIps , String keyboard )
365365 throws InsufficientCapacityException , ConcurrentOperationException , ResourceUnavailableException , StorageUnavailableException , ResourceAllocationException ;
366366
367367 /**
0 commit comments