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
[email protected]
www.greenqloud.com

On Fri, Apr 21, 2017 at 8:11 AM, Boris Stoyanov <
[email protected]> 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
>
>
> [email protected]
> www.shapeblue.com
> 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
> @shapeblue
>
>
>
> > On Apr 21, 2017, at 10:23 AM, Ciobanu Cristian <[email protected]>
> wrote:
> >
> > Hello,
> >
> >
> >
> >      Is there a method to find VM by IP ?
> >
> >
> >
> >
> >
> > Thank you,
> >
> > Cristian
> >
>
>

Reply via email to