Re: "list virtualmachines name=" problem

2015-03-05 Thread dongdan39
pull request for a note to > appear in the API documentation: > https://github.com/apache/cloudstack/pull/98 > > -- Forwarded message -- > From: Dan Dong > To: "users@cloudstack.apache.org" > Cc: > Date: Wed, 4 Mar 2015 14:49:15 -0600 > Subj

Re: "list virtualmachines name=" problem

2015-03-05 Thread Rohit Yadav
Re: "list virtualmachines name=" problem. Hi, Harikrishna, Thanks, surely UUID will work in this case, but why not let user decide the match pattern himself? E.g: list virtualmachines name=vm-1* to list vm-1, vm-10, vm-11 .. I think VM name is unique for all the VMs user created? It

Re: "list virtualmachines name=" problem

2015-03-05 Thread Phillip Kent
/cloudstack/pull/98 -- Forwarded message -- From: Dan Dong To: "users@cloudstack.apache.org" Cc: Date: Wed, 4 Mar 2015 14:49:15 -0600 Subject: Re: "list virtualmachines name=" problem. Hi, Harikrishna, Thanks, surely UUID will work in this case, but why not let u

Re: "list virtualmachines name=" problem.

2015-03-04 Thread Dan Dong
Hi, Harikrishna, Thanks, surely UUID will work in this case, but why not let user decide the match pattern himself? E.g: list virtualmachines name=vm-1* to list vm-1, vm-10, vm-11 .. I think VM name is unique for all the VMs user created? It would be natural if all details of a VM could be g

Re: "list virtualmachines name=" problem.

2015-03-04 Thread Harikrishna Patnala
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, http://localhost:8080/client

"list virtualmachines name=" problem.

2015-03-04 Thread Dan Dong
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