
You need to do it the other way around, for example to know which VMs are using specific network, you have to use the following: list_of_vms_using_mynetwork = vms_service.list(search='Vnic.network_name=mynetwork') All possible values used for searching can be found here: https://www.ovirt.org/documentation/admin-guide/appe-Using_Search_Bookmarks_... On 08/10/2019 12:04, Jamie Holohan wrote:
Using the SDK, for a custom Network created with default values: Is it possible to check if there is anything present in the Hosts/VMs/Templates tab for this custom network.
The tabs can be found in the UI by navigating through (Left Side Bar) Network -> Networks -> (Select Custom Network) -> Host/Virtual Machines/Templates tabs _______________________________________________ Devel mailing list -- devel@ovirt.org To unsubscribe send an email to devel-leave@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/devel@ovirt.org/message/B6QNODYSQJKR3Z...