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 accounttype 0 domainid 1 domain ROOT receivedbytes 0 sentbytes 0 vmavailable Unlimited vmlimit Unlimited vmtotal 0 ipavailable Unlimited iptotal 0 iplimit Unlimited volumelimit Unlimited volumetotal 0 volumeavailable Unlimited snapshotlimit Unlimited snapshottotal 0 snapshotavailable Unlimited templatelimit Unlimited templatetotal 0 templateavailable Unlimited vmstopped 0 vmrunning 0 state enabled listUsers 5 [List the Created User in (3)] account accountname id userid username usernameparam firstname user lastname userlastname email user@gmail.com created createtimestamp state enabled account accountname accounttype 0 domainid 1 domain ROOT registerUserKeys id userid apikey apikey secretkey secretkey createNetwork [Creating default network] zoneid globalzoneid networkOfferingId globalnetworkofferingid account accountname domainid 1 name regression_user_network displaytext regression_user_network id networkid listAccounts true 950 id accountid name accountname accounttype 0 domainid 1 domain ROOT receivedbytes 0 sentbytes 0 ipavailable iptotal 0 iplimit vmavailable vmlimit vmtotal 0 vmstopped 0 vmrunning 0 volumelimit volumetotal 0 volumeavailable snapshotlimit snapshottotal 0 snapshotavailable templatelimit templatetotal 0 templateavailable deployVirtualMachine true 13 zoneid globalzoneid serviceofferingid globalserviceofferingid diskofferingid globaldiskofferingid templateid globaltemplateid account accountname domainid 1 displayname RegularUser-VM group group1 networkids networkid id vmid name vmname ipaddress vmipaddress created zoneid globalzoneid zonename globalzonename haenable false state Running account accountname templateid globaltemplateid displayname RegularUser-VM group group1 listVirtualMachines true 957 false name vmname id vmid name vmname ipaddress vmipaddress created zoneid globalzoneid zonename globalzonename haenable false state Running displayname RegularUser-VM group group1 listRouters 35 zoneid globalzoneid account accountname domainid 1 router 0 id routerid publicip sourcenatpublicip zoneid globalzoneid zonename globalzonename dns1 dns1 dns2 dns2 networkdomain routernetworkdomain gateway name routername podid privateip privatemacaddress privatenetmask publicmacaddress routerpublicmacaddress guestipaddress routeripaddress guestmacaddress routermacaddress created hostid state Running associateIpAddress true 546 zoneid globalzoneid id nonsourcenatpublicipid ipaddress nonsourcenatpublicip allocated zoneid globalzoneid zonename globalzonename issourcenat false createLoadBalancerRule true 986 name lbname publicipid sourcenatpublicipid privateport privateport publicport publicport algorithm roundrobin account accountname domainid 1 id lbid name lbname privateport privateport publicport publicport algorithm roundrobin publicip sourcenatpublicip account accountname listLoadBalancerRules true 988 false assignToLoadBalancerRule true 989 id lbid virtualmachineid vmid deleteLoadBalancerRule true 987 id lbid listLoadBalancerRules true true createLoadBalancerRule true name lbname publicip sourcenatpublicip privateport privateport publicport publicport algorithm roundrobin account accountname domainid 1 id lbid name lbname id nonsourcenatpublicipid privateport privateport publicport publicport algorithm roundrobin publicip sourcenatpublicip account accountname assignToLoadBalancerRule true id lbid virtualmachineid vmid listLoadBalancerRuleInstances true 991 false id lbid removeFromLoadBalancerRule true 990 id lbid virtualmachineid vmid account accountname listLoadBalancerRuleInstances true true id lbid listVirtualMachines true 15 name vmname id vmid name vmname ipaddress vmipaddress created zoneid globalzoneid zonename globalzonename haenable false state Running displayname namefordisplay group group1 rebootVirtualMachine true 16 id vmid listVirtualMachines true name vmname state Running stopVirtualMachine true 17 id vmid listVirtualMachines true name vmname state Stopped listVolumes virtualmachineid vmid type ROOT id rootvolumeid listVolumes virtualmachineid vmid type DATADISK id datavolumeid detachVolume true id datavolumeid listVolumes true virtualmachineid vmid type DATADISK createVolume true 1026 name zoneid globalzoneid diskofferingid globaldiskofferingid id datavolumeid attachVolume true id datavolumeid virtualmachineid vmid listVolumes true false virtualmachineid vmid type DATADISK createVolume true name zoneid globalzoneid diskofferingid globaldiskofferingid id datavolumeid1 deleteVolume true id datavolumeid1 listVolumes true id datavolumeid1 createSnapshot true volumeid datavolumeid id snapshotid1 volumeid datavolumeid created name account accountname listSnapshots true false volumeid datavolumeid deleteSnapshot true 24 id snapshotid1 listSnapshots true 26 true volumeid datavolumeid createSnapshot true volumeid datavolumeid id snapshotid1 createTemplate true 958 snapshotid snapshotid1 name privatetemplatename displaytext newtext osTypeId 1 id privatetemplateid name privatetemplatename ispublic false isready true created passwordenabled false listTemplates true 27 name privatetemplatename templatefilter self id privatetemplateid name privatetemplatename ispublic false isready true created passwordenabled false updateTemplate true Update template id privatetemplateid displaytext blahblahblah name blah listTemplates true List updated template id privatetemplateid templatefilter self displaytext blahblahblah listTemplatePermissions true list template permissions command id privatetemplateid ispublic false updateTemplatePermissions true update template permissions id privatetemplateid ispublic true listTemplates true List template with updated permission id privatetemplateid templatefilter self ispublic true deleteTemplate true 959 id privatetemplateid listTemplates true true name privatetemplatename templatefilter self stopVirtualMachine true Stop the VM before changing the Service id vmid changeServiceForVirtualMachine true 20 id vmid serviceofferingid 2 listVirtualMachines true name vmname state Stopped serviceofferingid 2 resetPasswordForVirtualMachine true 19 id vmid id vmid password listVirtualMachines true name vmname state Stopped listVirtualMachines true name vmname state Stopped startVirtualMachine true 18 id vmid id vmid name vmname ipaddress vmipaddress created zoneid globalzoneid zonename globalzonename haenable false state Running templateid globaltemplateid serviceofferingid 2 listVirtualMachines true name vmname state Running updateVirtualMachine true id vmid haenable true listVirtualMachines true 21 name vmname haenable true updateVirtualMachine true id vmid haenable false listVirtualMachines true 21 name vmname haenable false listPublicIpAddresses true 547 disassociateIpAddress true 548 ipaddress nonsourcenatpublicip listEvents true 40 destroyVirtualMachine true 14 id vmid registerIso true Register iso id globalisoid name isoname displaytext isodisplay url http://172.16.0.220/images/sumita/iso/ubuntu-9.04-server-amd64.iso ostypeid 128 zoneid globalzoneid id privateisoid created ispublic false bootable true isready false isfeatured false name registername displaytext registerdisplay listIsos true List isos false id privateisoid registerTemplate true Register template name registername displaytext registerdisplay url http://192.168.10.231/templates/routing/latest/systemvm.vhd.bz2 ostypeid 132 format vhd zoneid globalzoneid id systemtemplateid created ispublic false isfeatured false passwordenabled false format VHD isready false name registername displaytext registerdisplay deleteIso true Delete iso id privateisoid listIsos true List isos true id privateisoid deleteTemplate true Delete template id systemtemplateid listTemplates true List templates true id systemtemplateid templatefilter self