you can also use a forloop first get all your projects
> list projects domainid=ec1fd5f6-b5c8-11e3-89aa-b208915c1447 filter=id then list your vms in projects > !for i in `cat useast-projects` ; do cloudmonkey list virtualmachines domainid=ac45a97a-a54b-11e3-a5ba-42c77b0ab567 projectid=$i filter=name,id,ipaddress,hostname,instancename hope this helps On Tue, Sep 8, 2015 at 3:20 AM, Fernando Guillén Camba < [email protected]> wrote: > Ok that works perfectly. > Thanks for the help. > > El 05/09/15 a las 17:07, Remi Bergsma escribió: > > If you specify projectid=-1 you get all vms from all projects. I usually > do two calls, one for all non-projects and another for all project vms. > It's not cloudmonkey, it's the api. > > Sent from my iPhone > > On 03 Sep 2015, at 14:37, Fernando Guillén Camba <[email protected]> > wrote: > > Hi > > I'm trying to automate a few things with Cloudmonkey and I'm having > problems with the following behaviour: > If I issue the command > > list virtualmachines listall=true > > I get a list of all VM except the ones in projects > if I issue the command > > list virtualmachines projectid=**id** listall=true > > I get a list of the virtualmachines of that project. > > ¿Is there a way of listing all the virtual machines, both those owned by > users and those in projects? ¿Is there some kind of wildcard I can use? > If someone can offer me some way of listing all the VM in a domain I will > be most grateful. > > I'm using Cloudmonkey 5.3.1 with CS 4.5.2 > > > -- > <ejjideai.png> <http://citius.usc.es/> Fernando Guillén Camba > <http://citius.usc.es/v/fernando.guillen> Unidade de Xestión de > Infraestruturas TIC [image: E-mail:] [email protected] > <[email protected]> · [image: Phone:] +34 881816409 <aheieefi.png> > citius.usc.es <http://citius.usc.es> · <fahfjbhh.png> citiususc > <http://twitter.com/citiususc> > > > > -- > [image: CiTIUS] <http://citius.usc.es/> Fernando Guillén Camba > <http://citius.usc.es/v/fernando.guillen> Unidade de Xestión de > Infraestruturas TIC [image: E-mail:] [email protected] > <[email protected]> · [image: Phone:] +34 881816409 [image: > Website:] citius.usc.es <http://citius.usc.es> · [image: Twitter:] > citiususc <http://twitter.com/citiususc> >
