cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harikrishna Patnala <>
Subject Re: "list virtualmachines name=" problem.
Date Wed, 04 Mar 2015 18:00:47 GMT
Hi Dan,

listVirtualMachine API provided with vm name gives the result of VMs where name like “%Provided_VM_name%”.

As the name vm-10 is like vm-1, you are getting the result of vm-10 as well.

You can try with UUID of the vm which gives you exact vm details you want,


On 04-Mar-2015, at 10:01 pm, Dan Dong <> wrote:

> Hi,
>  I found when I try to list details of the VM with name vm-1 by:
> list virtualmachines name=vm-1
> Cloudstack will also return me with info of another VM machine of vm-10, so
> I got 2 VMs info here.
> How to avoid this? Thanks.
> Cheers,
> Dan

View raw message