Return-Path: X-Original-To: apmail-cloudstack-users-archive@www.apache.org Delivered-To: apmail-cloudstack-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B451510942 for ; Tue, 8 Sep 2015 07:21:01 +0000 (UTC) Received: (qmail 34361 invoked by uid 500); 8 Sep 2015 07:21:00 -0000 Delivered-To: apmail-cloudstack-users-archive@cloudstack.apache.org Received: (qmail 34305 invoked by uid 500); 8 Sep 2015 07:21:00 -0000 Mailing-List: contact users-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cloudstack.apache.org Delivered-To: mailing list users@cloudstack.apache.org Received: (qmail 34294 invoked by uid 99); 8 Sep 2015 07:21:00 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Sep 2015 07:21:00 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 03AFF1A08B0 for ; Tue, 8 Sep 2015 07:21:00 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.994 X-Spam-Level: ** X-Spam-Status: No, score=2.994 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=3, RP_MATCHES_RCVD=-0.006, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 7X2CIHmGtqBF for ; Tue, 8 Sep 2015 07:20:53 +0000 (UTC) Received: from correo2.usc.es (correo2.usc.es [193.144.75.22]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTP id 11F114414F for ; Tue, 8 Sep 2015 07:20:52 +0000 (UTC) Received: from ctdesk097.inv.usc.es (HELO [172.16.243.97]) ([172.16.243.97]) by correo2bi.usc.es with ESMTP; 08 Sep 2015 09:20:46 +0200 Message-ID: <55EE8C4E.4060202@usc.es> Date: Tue, 08 Sep 2015 09:20:46 +0200 From: =?windows-1252?Q?Fernando_Guill=E9n_Camba?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 MIME-Version: 1.0 To: users@cloudstack.apache.org Subject: Re: Cloudmonkey doubt References: <55E83EF3.5030701@usc.es> In-Reply-To: Content-Type: multipart/alternative; boundary="------------080507070401090500070207" --------------080507070401090500070207 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit 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 > > 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 >> >> >> -- >> Fernando Guill�n Camba >> >> Unidade de Xesti�n de Infraestruturas TIC >> E-mail:fernando.guillen@usc.es � >> Phone:+34 881816409 >> citius.usc.es >> citiususc >> -- CiTIUS Fernando Guill�n Camba Unidade de Xesti�n de Infraestruturas TIC E-mail:fernando.guillen@usc.es � Phone:+34 881816409 Website: citius.usc.es � Twitter: citiususc --------------080507070401090500070207 Content-Type: multipart/related; boundary="------------040204080400010901040009" --------------040204080400010901040009 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: 8bit
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 <fernando.guillen@usc.es> 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




--
CiTIUS Fernando Guill�n Camba
Unidade de Xesti�n de Infraestruturas TIC
E-mail: fernando.guillen@usc.esPhone: +34 881816409
Website: citius.usc.esTwitter: citiususc
--------------040204080400010901040009 Content-Type: image/png Content-Transfer-Encoding: base64 Content-ID: iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMBAMAAACkW0HUAAAAGFBMVEUgIh9AQj9UVVN5e3ii pKHFx8TY2tb5+/hT73YfAAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH3wINDBoiy0HN vAAAAE9JREFUCNdjKHcBgnCGQgYgYGEIUCsvLxFiCAgMLzc2YghIYylSB1LpDozlICqZFUSl mqeBBI3KywOVGALYysuLmRgKGAUFBZkZSo2BwB0AFYMSdsuxYhAAAAAASUVORK5CYII= --------------040204080400010901040009 Content-Type: image/png Content-Transfer-Encoding: base64 Content-ID: iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMBAMAAACkW0HUAAAAGFBMVEUuBwVQLSx5Xl2ciIfG ubrX0dDp4+L9//xQjzgVAAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH3wINDBkxZNLf oQAAAEJJREFUCNclyaERgDAQAMF7mEG/i6UEFJQQmy7wkHDtI6JWLKOq0hZVkqrCZN/mTZ5Q 5cvSV7HFwYUjoaBvxo3aT3/msBbePQdVpgAAAABJRU5ErkJggg== --------------040204080400010901040009 Content-Type: image/png; name="dceejjia.png" Content-Transfer-Encoding: base64 Content-ID: Content-Disposition: inline; filename="dceejjia.png" iVBORw0KGgoAAAANSUhEUgAAAKwAAABDBAMAAADzDfO8AAAAMFBMVEUjHx45NTRLRkZXU1R0 cHH0YCX1bziTjo32iFqgnZz5pIK5tLP6wajT0M/s6eX+//wYsfMZAAAACXBIWXMAAA3XAAAN 1wFCKJt4AAAAB3RJTUUH3wINDA0cD6NUgQAAArNJREFUWMPt2MFr01AcB/Bvm8IQmUYUhuxg wYM3V2fPOtip7NBTR/EP8GrVwRCRnYQcPFQqiAju5L3CwEOZPekph4mCB6mZzJsswbUYS837 eXgveS9ZC0nTgZS+U5u+fPLy4/1++aWgExmYsTN2qtjHleGjOmP/O5bZtn0CrAtonF2/HRqT Yu+Ejv8dh/15/xwyxVfxWB4mIv7REcLG9WLpXZj9BD6sWKwOWOJoHmgTEdFnDlyxFPYAadkf vnBKsn2kZVl+CFtTWdZq7SZmuzjOugCgvey0nuUtNR2qhmEYT4joj2EYhmHb9vtRbBPAhQfP V3WFbQKYc4iImHMsy24R0W9/mSPZvFim1whYpgNZZ1TyxmI9+BuCDn3WBXCDUrF9IBtNh30g oy42XBNisS6Qi7J14LRyaMCnJGJ7Q9gCsJSezURYBmA7JesCKIfZAeSkcVkPgGaFWDdyA+Ow pAPIrjkK2+M1IB1bBwBkSo7K5lKzPVERtLbPdifBBtUq50yUZSvCvTrJ2BKxHV5yNbkTssnZ dpQlYm/zECWHs3CSsYqlXIHIq4m0EOnQTsYWZF6Gc8nTgUsyecuJ2S1x45EUrQFnZamZT8au ADeDyaEINoEzsjBqydg6P5mOl66mXO13BPcUk90D5vjk/cimrwWxpT5Cv8VgfwURLYQfAZ7O wwPxGy46RESeFYvtA1j0u6ElIuqucfaNqN0gEQVomy82V7EViyUdwMLuYcPf/kfQHnbsr/cg Hosg8UQXIya7F5zAw3ckv8/LZukgKTuQTDnCbisd49OELH30T+A7QrKLan/LGvJasVh2V4SA bwjPL4sLTqQb31i+XCxZRMQ6nW8KWzVN80OlUqmsm6b5Wjb5O9eAbCnIsC/LAM4/msALFIv0 bfbsLXIqWXPUmP0FNGOnlf0HmCZT3lPI5sMAAAAASUVORK5CYII= --------------040204080400010901040009 Content-Type: image/png; name="aijijcca.png" Content-Transfer-Encoding: base64 Content-ID: Content-Disposition: inline; filename="aijijcca.png" iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMBAMAAACkW0HUAAAAGFBMVEUgIh9AQj9UVVN5e3ii pKHFx8TY2tb5+/hT73YfAAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH3wINDBoiy0HN vAAAAE9JREFUCNdjKHcBgnCGQgYgYGEIUCsvLxFiCAgMLzc2YghIYylSB1LpDozlICqZFUSl mqeBBI3KywOVGALYysuLmRgKGAUFBZkZSo2BwB0AFYMSdsuxYhAAAAAASUVORK5CYII= --------------040204080400010901040009 Content-Type: image/png; name="jcdbajdh.png" Content-Transfer-Encoding: base64 Content-ID: Content-Disposition: inline; filename="jcdbajdh.png" iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMBAMAAACkW0HUAAAAGFBMVEUuBwVQLSx5Xl2ciIfG ubrX0dDp4+L9//xQjzgVAAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH3wINDBkxZNLf oQAAAEJJREFUCNclyaERgDAQAMF7mEG/i6UEFJQQmy7wkHDtI6JWLKOq0hZVkqrCZN/mTZ5Q 5cvSV7HFwYUjoaBvxo3aT3/msBbePQdVpgAAAABJRU5ErkJggg== --------------040204080400010901040009 Content-Type: image/png; name="hadfgjcb.png" Content-Transfer-Encoding: base64 Content-ID: Content-Disposition: inline; filename="hadfgjcb.png" iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMBAMAAACkW0HUAAAAJFBMVEUCBAAcHRswMS9ISUdj ZGJ2eHWJi4iipKC7vbrU1tLm6OT9//xgN4Y1AAAAAWJLR0QAiAUdSAAAAAlwSFlzAAAN1wAA DdcBQiibeAAAAAd0SU1FB98CEQkyB8EcnZ0AAABQSURBVAjXY9gNBgxAvCMdTDkwaAGpnc6t rECqNWs3M8PuLQyM21kYdjtYlBRIMWxjbjBhnM2wSWozg+Zuhk3SO1cCtW9lcpACmeLANHv3 bgAspiMqoA847gAAAABJRU5ErkJggg== --------------040204080400010901040009 Content-Type: image/png; name="ajgfegih.png" Content-Transfer-Encoding: base64 Content-ID: Content-Disposition: inline; filename="ajgfegih.png" iVBORw0KGgoAAAANSUhEUgAAAAsAAAALBAMAAABbgmoVAAAAGFBMVEUT1f9Y3v9v4/+P6f+v 8P/R9v/v/P/+//znsRNgAAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH3wINDBYDK52S 7gAAAEhJREFUCNcVx7EJgDAYBeELinVGyBTaKoIu4ABJZftE9K3v7zUfh+3jrIy+SZW8iyRm Mp0oQC9aMIgrmMRbSBZLTPCsmwP/6QNFmRB8czDbfAAAAABJRU5ErkJggg== --------------040204080400010901040009-- --------------080507070401090500070207--