deployVirtualMachine
[Deploy Virtual Machine in Admin Account]
-
zoneid
globalzoneid
-
serviceofferingid
globalserviceofferingid
-
diskofferingid
globaldiskofferingid
-
templateid
globaltemplateid
-
account
admin
-
domainid
1
-
displayname
VMapis-VM
-
group
group1
-
networkids
globalnetworkid
-
id
vmid
-
name
vmname
-
ipaddress
vmipaddress
destroyVirtualMachine
[Destroy Virtual Machine]
-
id
vmid
listVirtualMachines
72 [List the Destroyed Virutal Machine]
-
account
admin
-
name
vmname
startVirtualMachine
92 [Check that the Destroyed VM cannot be started]
true
-
id
vmid
listVirtualMachines
73 [Check that a non-existing VM cannot be listed (Id doesnt exist)]
-
account
admin
-
id
100000000
createAccount
[Create the Account and a User for the account (List VM for a Removed User exercise BEGIN)]
-
account
accountname
-
accounttype
0
-
domainid
1
-
email
testcase74@gmail.com
-
firstname
testcase74
-
lastname
testcase74lastname
-
username
-
password
password
-
id
accountid
-
name
accountname
listUsers
[List the Created User]
-
account
accountname
-
id
userid
-
username
usernameparam
createNetwork
[Creating default network for the account]
-
zoneid
globalzoneid
-
networkOfferingId
globalnetworkofferingid
-
account
accountname
-
domainid
1
-
name
vmapi_network
-
displaytext
vmapi_network
-
id
networkid
deployVirtualMachine
[Deploy Virtual Machine in the new Account]
-
zoneid
globalzoneid
-
serviceofferingid
globalserviceofferingid
-
diskofferingid
globaldiskofferingid
-
templateid
globaltemplateid
-
account
accountname
-
domainid
1
-
displayname
VMapis-VM-2
-
group
group1
-
networkids
networkid
-
id
vmid2
-
name
vmname
-
ipaddress
vmipaddress
deleteUser
[Delete User]
-
id
userid
deleteAccount
[Delete Account]
-
id
accountid
listVirtualMachines
74 [Check that no VMs present under the Account(List VM for a Removed User exercise END)]
true
-
account
accountname
-
domainid
1
updateVirtualMachine
77 - Bug 3237 [updateVirtualMachine api: should deny to update Destroyed vms]
true
-
id
vmid
-
haenable
true
updateVirtualMachine
592 [Verify that you can't enable HA for non-existing vm]
true
-
id
1000000
-
haenable
true
recoverVirtualMachine
[Recover the Destroyed VM]
-
id
vmid
resetPasswordForVirtualMachine
79-1 [Verify that one can reset password for VM in stopped state]
-
id
vmid
updateVirtualMachine
76 [Verify that one can enable HA for VM in stopped state]
-
id
vmid
-
haenable
true
startVirtualMachine
[Start Virtual Machine (reset password for VM in running state exercise BEGIN)]
-
id
vmid
resetPasswordForVirtualMachine
79-2 [Verify that one can reset password for VM in running state]
-
id
vmid
updateVirtualMachine
76 [Verify that one can disable HA for VM in running state]
-
id
vmid
-
haenable
false
destroyVirtualMachine
[Destroy Virtual Machine (reset password on a destroyed VM exercise BEGIN)]
-
id
vmid
resetPasswordForVirtualMachine
80 [Verify that one can't reset password for VM in destroyed state]
true
-
id
vmid
rebootVirtualMachine
89 [Verify that one can't reboot destroyed VM]
true
-
id
vmid
deployVirtualMachine
[Deploy Virtual Machine to test reset password negative case]
-
zoneid
globalzoneid
-
serviceofferingid
globalserviceofferingid
-
diskofferingid
globaldiskofferingid
-
templateid
globaltemplateid
-
account
admin
-
domainid
1
-
displayname
VMapis-VM-3
-
group
group1
-
networkids
networkid
-
id
windowsvmid
-
name
windowsvmname
-
ipaddress
windowsvmipaddress
resetPasswordForVirtualMachine
81 [Check whether password can be reset on virtual machine made from password disabled VM]
true
-
id
windowsvmid
changeServiceForVirtualMachine
82 [Try to change service offering for VM in running state]
true
-
id
windowsvmid
-
serviceofferingid
mediumglobalserviceofferingid
stopVirtualMachine
[Stop the Virtual machine to change its Service Offering]
-
id
windowsvmid
changeServiceForVirtualMachine
83 [Try to change service offering to the one that VM already has -ve case]
true
-
id
windowsvmid
-
serviceofferingid
globalserviceofferingid
rebootVirtualMachine
90 [Try to reboot stopped vitrual machine - Negative case]
true
-
id
windowsvmid
recoverVirtualMachine
813 [Try to recover stopped virtual machine]
true
-
id
windowsvmid
startVirtualMachine
[Start virtual machine]
-
id
windowsvmid
recoverVirtualMachine
813 [Try to recover running virtual machine]
true
-
id
windowsvmid
deployVirtualMachine
84 [Try to deploy vm and assign it to non-existing account -ve case]
true
-
zoneid
globalzoneid
-
serviceofferingid
globalserviceofferingid
-
diskofferingid
globaldiskofferingid
-
templateid
globaltemplateid
-
account
blahblah-invaliduser
-
domainid
1
-
displayname
VMapis-VM-4
-
group
group1
-
networkids
globalnetworkid
deployVirtualMachine
85 [Try to deploy vm and assign it to removed account -ve case]
true
-
zoneid
globalzoneid
-
serviceofferingid
globalserviceofferingid
-
diskofferingid
globaldiskofferingid
-
templateid
globaltemplateid
-
account
accountname
-
domainid
1
-
displayname
VMapis-VM-5
-
group
group1
-
networkids
networkid
destroyVirtualMachine
87 [Try to send destroy command for non-existing vm -ve case]
true
-
id
100000
rebootVirtualMachine
88 [Try to send reboot command for non-existing vm -ve case]
true
-
id
100000
startVirtualMachine
88 [Try to send start command for non-existing vm -ve case]
true
-
id
100000
destroyVirtualMachine
[Destroy Virtual Machine as part of Clean up]
-
id
windowsvmid