
On Thu, Sep 26, 2019 at 4:37 PM Jamie Holohan <james.holohan@oracle.com> wrote:
I am trying to verify whether a Networks VM Network checkbox is checked using the SDK, but I cannot see any methods or variable with a similar name.
Is it possible to find out if a network has a VM Network Role using the SDK?
Please note that the network roles exists only in the context of a cluster: system_service = connection.system_service() clusters_service = system_service.clusters_service() cluster = clusters_service.list()[0] cluster_service = clusters_service.cluster_service(cluster.id) networks_service = cluster_service.networks_service() for network in networks_service.list(): print '{}: {}'.format(network.name, network.usages) _______________________________________________
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/HUOLCB5CM5SYFO...