createUser
Create a user
-
username
-
password
apiuser
-
firstname
apiuser
-
lastname
apiuser
-
email
apiuser@gmail.com
-
accounttype
0
-
id
userid
-
account
accountvar
registerUserKeys
Registering the user
-
id
userid
-
apikey
apikey
-
secretkey
secretkey
registerIso
Register iso
-
name
isoname
-
displaytext
isodisplay
-
url
http://nfs1.lab.vmops.com/isos_64bit/Ubuntu-10.04/ubuntu-10.04-desktop-amd64.iso
-
ostypeid
59
-
zoneid
globalzoneid
-
account
accountname
-
domainid
1
-
id
privateisoid
-
created
-
ispublic
false
-
bootable
true
-
isready
false
-
isfeatured
false
-
name
registername
-
displaytext
registerdisplay
deployVirtualMachine
Deploying VM from small diskOffering
true
-
zoneid
globalzoneid
-
serviceofferingid
globalserviceofferingid
-
diskofferingid
5
-
templateid
privateisoid
-
account
admin
-
domainid
1
-
displayname
namefordisplay
-
group
group1
-
id
smallvmid
listVolumes
-
virtualmachineid
smallvmid
-
type
ROOT
-
id
smallrootvolumeid
listVolumes
-
virtualmachineid
smallvmid
-
type
datadisk
-
id
smalldatavolumeid
sleep.sh
Sleep for some time
-
s
200
createSnapshot
Creating snapshot of ROOT disk of small vm
true
-
volumeid
smallrootvolumeid
-
id
smallrootsnapshot
createSnapshot
Creating snapshot of Data disk of small vm
true
-
volumeid
smalldatavolumeid
-
id
smalldatasnapshot
createTemplate
Creating template of ROOT snapshot of small vm
true
-
snapshotid
smallrootsnapshot
-
name
-
displaytext
newtext
-
osTypeId
59
-
id
smalltemplateid
deployVirtualMachine
Deploy a vm from template created from snapshot of ROOT disk of small vm
true
-
zoneid
globalzoneid
-
serviceofferingid
globalserviceofferingid
-
diskofferingid
5
-
templateid
smalltemplateid
-
account
admin
-
domainid
1
-
displayname
smallsnpshtVM
-
group
group1
-
id
smallvmid1
createVolume
Create a volume from smaller disk snapshot
true
-
snapshotid
smallrootsnapshot
-
name
-
id
smallvolumeid
createVolume
Create a volume from smaller disk snapshot
true
-
snapshotid
smalldatasnapshot
-
name
-
id
smallvolumeid
attachVolume
Attach small volume to the vm created from small snapshot
true
-
id
smallvolumeid
-
virtualmachineid
smallvmid1
attachVolume
Attach small volume to a different VM
true
-
id
smallvolumeid
-
virtualmachineid
smallvmid
listConfiguration
Getting value of the expunge.delay configuration parameter
-
name
expunge.delay
-
value
expunge.delay
rebootVirtualMachine
Reboot small vm
-
id
smallvmid1
stopVirtualMachine
stop medium vm
-
id
smallvmid1
startVirtualMachine
stop medium vm
-
id
smallvmid1
deleteSnapshot
Deleting a snapshot taken of an attached Volume
-
id
smallrootsnapshot
destroyVirtualMachine
Destroy small vm
-
id
smallvmid1
createSnapshot
Creating snapshot of root disk immediately after destroying VM.
true
-
volumeid
smallrootvolumeid
-
id
smallrootsnapshot
sleep.sh
Sleep for expunge delayed interval
-
s
expunge.delay
sleep.sh
Sleep for another expunge delayed interval
-
s
expunge.delay
createSnapshot
Creating snapshot of Destroyed root disk after expunge delay Failure Test Case
true
true
-
volumeid
smallrootvolumeid
-
id
smallrootsnapshot
destroyVirtualMachine
Destroy small vm
-
id
smallvmid1
deleteUser
Deleting a user
-
id
userid