cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rohit Yadav <>
Subject Re: cloudmonkey : add a instance
Date Fri, 07 Dec 2012 18:37:18 GMT
As I mentioned in one of the previous emails, read:
Pl. follow the docs there and read the API guide on usage:
All the apis are grouped per entities, like VirtualMachines etc.

To answer your question, this is how I would do it:
- So what would be the api for adding a vm? I see on the html docs under VM:
Virtual Machine

 *   deployVirtualMachine (A)<>
 *   destroyVirtualMachine (A)<>
 *   rebootVirtualMachine (A)<>
 *   startVirtualMachine (A)<>
 *   stopVirtualMachine (A)<>
 *   resetPasswordForVirtualMachine (A)<>
 *   changeServiceForVirtualMachine<>
 *   updateVirtualMachine<>
 *   recoverVirtualMachine<>
 *   listVirtualMachines<>
 *   getVMPassword<>
 *   migrateVirtualMachine (A)<>
 *   assignVirtualMachine<>
 *   restoreVirtualMachine (A<>

- I see deployVirtualMachines would make sense, I click on it, I see:

          Apache CloudStack 4.0.0-incubating Root Admin API Reference


Creates and automatically starts a virtual machine based on a service offering, disk offering,
and template.

Request parameters
Parameter Name  Description     Required
serviceofferingid       the ID of the service offering for the virtual machine  true
templateid      the ID of the template for the virtual machine  true
zoneid  availability zone for the virtual machine       true

- I open cloudmonkey to see if there anything when I type dell<tab><tab>, it completes
to deploy, I add a space<tab><tab>, I get: deploy virtualmachine
- I don't know what to pass so I pass, --help
deploy virtualmachine --help
- Job done!

Hope this would help,
On 07-Dec-2012, at 7:34 AM, Charles Moulliard <<>>


What is the command to be used to add an instance using cloudmonkey ?


Charles Moulliard
Apache Committer / Sr. Enterprise Architect (RedHat)
Twitter : @cmoulliard | Blog :

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message