You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Ciobanu Cristian <cr...@istream.today> on 2017/04/21 07:23:14 UTC
Find VM by IP ACS
Hello,
Is there a method to find VM by IP ?
Thank you,
Cristian
Re: Find VM by IP ACS
Posted by Jeff Hair <je...@greenqloud.com>.
If you're talking about public IP (the ones you add to a machine with
enableStaticNat), then you can do it. The listPublicIpAddresses call will
return VM information in its response, assuming the IP is attached to a VM.
*Jeff Hair*
Technical Lead and Software Developer
Tel: (+354) 415 0200
jeff@greenqloud.com
www.greenqloud.com
On Fri, Apr 21, 2017 at 8:11 AM, Boris Stoyanov <
boris.stoyanov@shapeblue.com> wrote:
> Hi Cristian,
> I don’t think you can find a VM by IP with a single list call, but using
> cloudmonkey you’re able use a lot of attributes to list a VM:
>
> (local) SBCM5> list virtualmachines
> account= displayvm= forvirtualnetwork= hypervisor=
> isoid= keyword= networkid= podid=
> state= templateid= zoneid=
> affinitygroupid= domainid= groupid= id=
> isrecursive= listall= page=
> projectid= storageid= userid=
> details= filter= hostid= ids=
> keypair= name= pagesize=
> serviceofferingid= tags= vpcid=
>
> Thanks,
> Boris Stoyanov
>
>
> boris.stoyanov@shapeblue.com
> www.shapeblue.com
> 53 Chandos Place, Covent Garden, London WC2N 4HSUK
> @shapeblue
>
>
>
> > On Apr 21, 2017, at 10:23 AM, Ciobanu Cristian <cr...@istream.today>
> wrote:
> >
> > Hello,
> >
> >
> >
> > Is there a method to find VM by IP ?
> >
> >
> >
> >
> >
> > Thank you,
> >
> > Cristian
> >
>
>
Re: Find VM by IP ACS
Posted by Boris Stoyanov <bo...@shapeblue.com>.
Hi Cristian,
I don’t think you can find a VM by IP with a single list call, but using cloudmonkey you’re able use a lot of attributes to list a VM:
(local) SBCM5> list virtualmachines
account= displayvm= forvirtualnetwork= hypervisor= isoid= keyword= networkid= podid= state= templateid= zoneid=
affinitygroupid= domainid= groupid= id= isrecursive= listall= page= projectid= storageid= userid=
details= filter= hostid= ids= keypair= name= pagesize= serviceofferingid= tags= vpcid=
Thanks,
Boris Stoyanov
boris.stoyanov@shapeblue.com
www.shapeblue.com
53 Chandos Place, Covent Garden, London WC2N 4HSUK
@shapeblue
> On Apr 21, 2017, at 10:23 AM, Ciobanu Cristian <cr...@istream.today> wrote:
>
> Hello,
>
>
>
> Is there a method to find VM by IP ?
>
>
>
>
>
> Thank you,
>
> Cristian
>