Hi Colin,
I tested the above snippets with the latest Python SDK v4.3.3 (Python
3.7.4) on Engine v4.1.9.1 and everything works fine.
Could you please provide the versions of Python/SDK/Engine in your local
environment, as well as the error output?
Regards,
Joey
On Mon, Sep 16, 2019 at 9:40 AM Colin Coe <colin.coe(a)gmail.com> wrote:
Hi all
I've got the following Python snippet which works fine under 4.3 but I
need it to work under 4.1 as well.
---
nics_service = vms_service.vm_service(vm.id).nics_service()
nic = nics_service.list(search='name=nic1')[0]
---
Under 4.1, it barfs on "nics_service.list(search='name=nic1')[0]".
What do I need to do to make it work under 4.1?
Thanks
_______________________________________________
Users mailing list -- users(a)ovirt.org
To unsubscribe send an email to users-leave(a)ovirt.org
Privacy Statement:
https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
List Archives:
https://lists.ovirt.org/archives/list/users@ovirt.org/message/AIULSYOC4SN...