<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 31, 2017 at 1:05 PM, Oğuz Yarımtepe <span dir="ltr"><<a href="mailto:oguzyarimtepe@gmail.com" target="_blank">oguzyarimtepe@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>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?</div></div></blockquote><div><br><div><div><div><div>Hi,<br><br></div>checkout this:<br><br> <a href="https://github.com/ansible/ansible/blob/devel/contrib/inventory/ovirt4.py#L147">https://github.com/ansible/ansible/blob/devel/contrib/inventory/ovirt4.py#L147</a><br><br></div>It's dynamic inventory script for Ansible. You can find there an example how IP<br></div>address of VM is obtained.<br><br></div>Ondra<br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><span class="gmail-HOEnZb"><font color="#888888"><div><div><br></div>-- <br><div class="gmail-m_7625331987893931217gmail_signature">Oğuz Yarımtepe<br><a href="http://about.me/oguzy" target="_blank">http://about.me/oguzy</a></div>
</div></font></span></div>
<br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br>
<br></blockquote></div><br></div></div>