mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-7351: Passing hypervisor type while deploying VM using ISO
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
This commit is contained in:
parent
8929d74519
commit
3411fbacca
@ -770,6 +770,7 @@ class TestDeployHaEnabledVM(cloudstackTestCase):
|
|||||||
|
|
||||||
self.apiclient = self.testClient.getApiClient()
|
self.apiclient = self.testClient.getApiClient()
|
||||||
self.dbclient = self.testClient.getDbConnection()
|
self.dbclient = self.testClient.getDbConnection()
|
||||||
|
self.hypervisor = self.testClient.getHypervisorInfo()
|
||||||
self.services = Services().services
|
self.services = Services().services
|
||||||
self.services["virtual_machine"]["zoneid"] = self.zone.id
|
self.services["virtual_machine"]["zoneid"] = self.zone.id
|
||||||
self.services["virtual_machine"]["template"] = self.template.id
|
self.services["virtual_machine"]["template"] = self.template.id
|
||||||
@ -851,7 +852,8 @@ class TestDeployHaEnabledVM(cloudstackTestCase):
|
|||||||
templateid=self.iso.id,
|
templateid=self.iso.id,
|
||||||
serviceofferingid=self.service_offering.id,
|
serviceofferingid=self.service_offering.id,
|
||||||
diskofferingid=self.disk_offering.id,
|
diskofferingid=self.disk_offering.id,
|
||||||
startvm=True
|
startvm=True,
|
||||||
|
hypervisor=self.hypervisor
|
||||||
)
|
)
|
||||||
|
|
||||||
response = self.virtual_machine.getState(self.apiclient, VirtualMachine.RUNNING)
|
response = self.virtual_machine.getState(self.apiclient, VirtualMachine.RUNNING)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user