On Fri, Mar 31, 2017 at 1:05 PM, Oğuz Yarımtepe <[email protected]>
wrote:

> Hi,
>
> I am using ovirt-engine-sdk-python (4.1.3). But couldn't find how to get
> the IP and MAC address of a vm. Any sample code for that?
>

Hi,

checkout this:


https://github.com/ansible/ansible/blob/devel/contrib/inventory/ovirt4.py#L147

It's dynamic inventory script for Ansible. You can find there an example
how IP
address of VM is obtained.

Ondra


>
> --
> Oğuz Yarımtepe
> http://about.me/oguzy
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.ovirt.org/mailman/listinfo/users
>
>
_______________________________________________
Users mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/users

Reply via email to