createAccount [Create the Account and a User for the account] account nimbus-account accounttype 1 domainid 1 email admin@gmail.com firstname admin lastname adminlastname username usernameparam password password id accountid name accountname accounttype 1 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 admin lastname adminlastname email admin@gmail.com created createtimestamp state enabled account accountname accounttype 1 domainid 1 domain ROOT createUser 3 [Create User Command] account nimbus-account accounttype 0 username secondusernameparam password password firstname nimbus-user lastname nimbus-userlastname email nimbus-user@gmail.com id seconduserid username usernameparam firstname nimbus-user lastname nimbus-userlastname email nimbus-user@gmail.com account accountname accounttype 0 domainid 1 domain ROOT created createtimestamp state enabled listAccounts 950 [List the Account of the User created in (3)] name accountname id accountid name accountname accounttype 1 domainid 1 domain ROOT receivedbytes 0 sentbytes 0 vmlimit Unlimited vmtotal 0 vmavailable Unlimited 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 updateUser 6 [Update the User created in (3)] id userid username newuser password password firstname updatednimbus lastname updatednimbuslastname email updatednimbus@gmail.com timezone PST apikey userapikey secretkey usersecretkey id userid username newuser firstname updatednimbus lastname updatednimbuslastname email updatednimbus@gmail.com created createtimestamp state enabled account accountname accounttype 1 domainid 1 domain ROOT timezone PST apikey userapikey secretkey usersecretkey listUsers 5 [List the Updated User updated in (6)] id userid id userid username newuser firstname updatednimbus lastname updatednimbuslastname email updatednimbus@gmail.com created createtimestamp state enabled account accountname accounttype 1 domainid 1 domain ROOT timezone PST apikey userapikey secretkey usersecretkey disableUser 428 [Disable the User created in (3)] id userid id userid username newuser firstname updatednimbus lastname updatednimbuslastname email updatednimbus@gmail.com created createtimestamp state disabled account accountname accounttype 1 domainid 1 domain ROOT timezone PST apikey userapikey secretkey usersecretkey enableUser 9 [Enable the User created in (3)] id userid id userid username newuser firstname updatednimbus lastname updatednimbuslastname email updatednimbus@gmail.com created createtimestamp state enabled account accountname accounttype 1 domainid 1 domain ROOT timezone PST apikey userapikey secretkey usersecretkey disableAccount [Lock the Account] account accountname domainid 1 lock true id accountid name accountname accounttype 1 domainid 1 domain ROOT receivedbytes 0 sentbytes 0 vmlimit Unlimited vmtotal 0 vmavailable Unlimited 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 locked enableAccount [Enable the Locked Account] account accountname domainid 1 id accountid name accountname accounttype 1 domainid 1 domain ROOT receivedbytes 0 sentbytes 0 vmlimit Unlimited vmtotal 0 vmavailable Unlimited 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 disableAccount [Lock the Account] account accountname domainid 1 lock false id accountid name accountname accounttype 1 domainid 1 domain ROOT receivedbytes 0 sentbytes 0 vmlimit Unlimited vmtotal 0 vmavailable Unlimited 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 disabled enableAccount [Enable the Locked Account] account accountname domainid 1 id accountid name accountname accounttype 1 domainid 1 domain ROOT receivedbytes 0 sentbytes 0 vmlimit Unlimited vmtotal 0 vmavailable Unlimited 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 createDomain 10 [Create Domain] name domainname name domainname id newdomainid level 1 parentdomainid 1 parentdomainname ROOT haschild false listDomains 11 [List Domains] name domainname id newdomainid name domainname level 1 parentdomainid 1 parentdomainname ROOT haschild false updateDomain 952 [Update the Domain created in (10)] id newdomainid name newdomainname id newdomainid name newdomainname level 1 parentdomainid 1 parentdomainname ROOT haschild false listDomainChildren - List One of the Children of the Parent Domain - id 1 domain 0 id newdomainid name newdomainname level 1 parentdomainid 1 parentdomainname ROOT haschild false deleteDomain 654 [Delete Domain created in (10)] id newdomainid cleanup true success true listTemplates 27 [List Templates - List System Template] templatefilter self id 1 template 0 id debian50templateid name debian50templatename displaytext debian50templatedisplaytext ispublic debian50templateispublic created debian50templatecreated isready true passwordenabled debian50templatepasswordenabled format VHD isfeatured false crossZones true ostypeid debian50templateostypeid ostypename debian50templateostypename size debian50templatesize account system zoneid globalzoneid zonename globalzonename status Download Complete templatetype SYSTEM hypervisor XenServer domain ROOT domainid 1 listTemplates - Verify All the Parameters of the Listed Template - name debian50templatename templatefilter self template 0 id debian50templateid name debian50templatename displaytext debian50templatedisplaytext ispublic debian50templateispublic created debian50templatecreated isready true isfeatured false passwordenabled debian50templatepasswordenabled crossZones true format VHD ostypeid debian50templateostypeid ostypename debian50templateostypename account system domainid 1 domain ROOT zoneid globalzoneid zonename globalzonename status Download Complete size debian50templatesize templatetype SYSTEM hypervisor XenServer listServiceOfferings 28 [List the Small Instance Service Offering] id globalserviceofferingid id smallofferingid name smallofferingname displaytext smallofferingdisplaytext cpunumber smallofferingcpunumber cpuspeed smallofferingcpuspeed memory smallofferingmemory created smallofferingcreatetime storagetype smallofferingstoragetype offerha false listServiceOfferings 876 [Verify the First Service Offering] name smallofferingname serviceoffering 0 id smallofferingid name smallofferingname displaytext smallofferingdisplaytext cpunumber smallofferingcpunumber cpuspeed smallofferingcpuspeed memory smallofferingmemory created smallofferingcreatetime storagetype smallofferingstoragetype offerha false listZones 39 [List the Global Zone with id-2] zone 0 id globalzoneid name globalzonename dns1 dns1 dns2 dns2 internaldns1 internaldns1 vlan guestcidraddress networktype Basic