createAccount [Create the Account and a User for the account] account accountname accounttype 0 domainid 1 email user@gmail.com firstname user lastname userlastname username usernameparam password password id accountid name accountname listUsers 5 [List the Created User in (3)] account accountname id userid updateResourceLimit Setup VMs Limit for Account Test Case resourcetype 0 max 2 account accountname domainid 1 resourcetype 0 max 2 updateResourceLimit Setup Public-Ips Limit for Account Test Case resourcetype 1 max 2 account accountname domainid 1 resourcetype 1 max 1 updateResourceLimit Setup Volumes Limit for Account Test Case resourcetype 2 max 6 account accountname domainid 1 resourcetype 2 max 6 updateResourceLimit Setup Snapshots Limit for Account Test Case resourcetype 3 max 2 account accountname domainid 1 resourcetype 3 max 2 updateResourceLimit Setup Templates Limit for Account Test Case resourcetype 4 max 2 account accountname domainid 1 resourcetype 4 max 2 registerUserKeys Register User Keys Test Case id userid apikey apikey secretkey secretkey createNetwork [Creating default network] zoneid globalzoneid networkOfferingId globalnetworkofferingid account accountname domainid 1 name defaultregressionnetwork displaytext defaultregressionnetwork id networkid deployVirtualMachine deploy vm1 test case true diskofferingid globaldiskofferingid serviceofferingid globalserviceofferingid templateid globaltemplateid zoneid globalzoneid account accountname domainid 1 displayname ResourceLimits-VM-1 group group1 networkids networkid id vmid1 deployVirtualMachine deploy vm2 test case true diskofferingid globaldiskofferingid serviceofferingid globalserviceofferingid templateid globaltemplateid zoneid globalzoneid account accountname domainid 1 displayname ResourceLimits-VM-2 group group1 networkids networkid id vmid2 associateIpAddress Associate second IP Test Case true zoneid globalzoneid account accountname domainid 1 ipaddress ipid createVolume Create Fifth Volume Test Case true name FifthVolume zoneid globalzoneid account accountname domainid 1 diskofferingid globaldiskofferingid id volid1 attachVolume id volid1 virtualmachineid vmid1 createVolume Create Sixth Volume Test Case true name SixthVolume zoneid globalzoneid account accountname domainid 1 diskofferingid globaldiskofferingid id volid2 attachVolume id volid2 virtualmachineid vmid2 createSnapshot Create First Snapshot Test Case true volumeid volid1 id snpid createSnapshot Create Second Snapshot Test Case true volumeid volid2 id snpid registerTemplate Create First Template Test Case true name FirstTemplate displaytext Firsttemplate url http://192.168.10.231/templates/routing/latest/systemvm.vhd.bz2 format vhd ostypeid 41 zoneid globalzoneid account accountname domainid 1 hypervisor globalhypervisortype id templid1 registerTemplate Create Second Template Test Case true name SecondTemplate displaytext Secondtemplate url http://192.168.10.231/templates/routing/latest/systemvm.vhd.bz2 format vhd ostypeid 41 zoneid globalzoneid account accountname domainid 1 hypervisor globalhypervisortype id templid2 deployVirtualMachine Deploy VM3 Failure test case true true diskofferingid globaldiskofferingid serviceofferingid globalserviceofferingid templateid 2 zoneid globalzoneid account accountname domainid 1 networkids network id vmid3 associateIpAddress Associate Second IP Failure Test Case true true zoneid globalzoneid account accountname domainid 1 ipaddress ipid createVolume Create Seventh Volume Failure Test Case true true name SeventhVolume zoneid globalzoneid account accountname domainid 1 diskofferingid globaldiskofferingid id volid3 listVolumes virtualmachineid vmid1 type ROOT id rootvolumeid createSnapshot Create Third Snapshot Failure Test Case true true volumeid rootvolumeid id snpid registerTemplate Create Third Template Failure Test Case true true name ThirdTemplate displaytext Thirdtemplate url http://192.168.10.231/templates/routing/latest/systemvm.vhd.bz2 format vhd ostypeid 41 zoneid globalzoneid account accountname domainid 1 hypervisor globalhypervisortype id templid3 deleteAccount Clean up account test case id accountname createAccount [Create the Account and a User for the account] account accountname accounttype 1 domainid 1 email newadmin@gmail.com firstname newadmin lastname newadminlastname username usernameparam password password id accountid name accountname listUsers 5 [List the Created User in (3)] account accountname id userid updateResourceLimit Failure in Setting Up VMs Limit for Admin Account Test Case true resourcetype 0 max 2 account accountname domainid 1 resourcetype 0 max 2 updateResourceLimit Failure in Setting Up Public-Ips Limit for Admin Account Test Case true resourcetype 1 max 1 account accountname domainid 1 resourcetype 1 max 1 updateResourceLimit Failure in Setting Up Volumes Limit for Admin Account Test Case true resourcetype 2 max 6 account accountname domainid 1 resourcetype 2 max 6 updateResourceLimit Failure in Setting up Snapshots Limit for Admin Account Test Case true resourcetype 3 max 2 account accountname domainid 1 resourcetype 3 max 2 updateResourceLimit Failure in Seting Up Templates Limit for Admin Account Test Case true resourcetype 4 max 2 account accountname domainid 1 resourcetype 4 max 2 registerUserKeys Register User Keys Test Case id userid apikey apikey secretkey secretkey createNetwork [Creating default network] zoneid globalzoneid networkOfferingId globalnetworkofferingid account accountname domainid 1 name defaultregressionnetwork displaytext defaultregressionnetwork id networkid deployVirtualMachine deploy vm1 test case true diskofferingid globaldiskofferingid serviceofferingid globalserviceofferingid templateid globaltemplateid zoneid globalzoneid account accountname domainid 1 displayname SnapshotTest-Admin-VM-1 group group1 networkids networkid id vmid1 deployVirtualMachine deploy vm2 test case true diskofferingid globaldiskofferingid serviceofferingid globalserviceofferingid templateid globaltemplateid zoneid globalzoneid account accountname domainid 1 displayname SnapshotTest-Admin-VM-2 group group1 networkids networkid id vmid2 associateIpAddress Associate second IP Test Case true zoneid globalzoneid account accountname domainid 1 ipaddress ipid createVolume Create Fifth Volume Test Case true name AdminsFifthVolume zoneid globalzoneid account accountname domainid 1 diskofferingid globaldiskofferingid id volid1 attachVolume id volid1 virtualmachineid vmid1 createVolume Create Sixth Volume Test Case true name AdminsSixthVolume zoneid globalzoneid account accountname domainid 1 diskofferingid globaldiskofferingid id volid2 attachVolume id volid2 virtualmachineid vmid2 createSnapshot Create First Snapshot Test Case true volumeid volid1 id snpid createSnapshot Create Second Snapshot Test Case true volumeid volid2 id snpid registerTemplate Create First Template Test Case true name AdminsFirstTemplate displaytext AdminsFirsttemplate url http://192.168.10.231/templates/routing/latest/systemvm.vhd.bz2 format vhd ostypeid 41 zoneid globalzoneid account accountname domainid 1 hypervisor globalhypervisortype id templid1 registerTemplate Create Second Template Test Case true name AdminsSecondTemplate displaytext AdminsSecondtemplate url http://192.168.10.231/templates/routing/latest/systemvm.vhd.bz2 format ostypeid 41 zoneid globalzoneid account accountname domainid 1 hypervisor globalhypervisortype id templid2 deployVirtualMachine Deploy VM3 Failure Avoidance test case true diskofferingid globaldiskofferingid serviceofferingid globalserviceofferingid templateid globaltemplateid zoneid globalzoneid account accountname domainid 1 displayname SnapshotTest-Admin-VM-3 group group1 networkids networkid id vmid3 associateIpAddress Associate Second IP Failure Avoidance Test Case true zoneid globalzoneid account accountname domainid 1 ipaddress ipid createVolume Create Seventh Volume Failure Avoidance Test Case true name AdminsSeventhVolume zoneid globalzoneid account accountname domainid 1 diskofferingid globaldiskofferingid id volid3 createSnapshot Create Third Snapshot Failure Test Case true true volumeid volid1 id snpid registerTemplate Create Third Template Failure Avoidance Test Case true name AdminsThirdTemplate displaytext AdminsThirdtemplate url http://192.168.10.231/templates/routing/latest/systemvm.vhd.bz2 format vhd ostypeid 41 zoneid globalzoneid account accountname domainid 1 hypervisor globalhypervisortype id templid3 deleteAccount Clean up admin account test case id accountid