On Thu, Nov 19, 2020 at 6:17 PM Alex McWhirter <alex@triadic.us> wrote:

I'm not sure if I' missing something, but it seems there is no way built in to oVirt to manage OVN outside of network / subnet creation. In particular routing both between networks and to external networks.

Of course you have the OVN utilities, but it seems that the provider API is the preffered method of interaction?

As far as i can tell, the only utility that can use this API as intended is ManageIQ, which is a bit a behemoth if you only need the OVN portion of things.

So is that it then? Interface with the API directly or use ManageIQ? Just curious what others are doing in regards to OVN.


I am also very interested to know how users are doing this.
There is a small hint in the documentation [1].
In our automated test, we are using ansible [2] [3] and the openstacksdk [4] [5] directly.

[1]
  https://github.com/oVirt/ovirt-provider-ovn/blob/master/docs/provider_api_description.adoc#4-accessing-ovirt-provider-ovn

[2]
  https://github.com/oVirt/ovirt-provider-ovn/blob/master/provider/integration-tests/ansible/create_sec_group_api.yml

[3]
  https://github.com/oVirt/ovirt-system-tests/blob/master/network-suite-master/ansible/roles/create-ovn-entities/tasks/main.yml 

[4]
  https://docs.openstack.org/openstacksdk/

[5]
  https://github.com/oVirt/ovirt-system-tests/blob/617b58bcfc74fe25b5bb6bc391330fd8b6b848ff/network-suite-master/test-scenarios/ovn-provider/test_ovn_provider_integration_with_ovirt.py#L113



 
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/Q2VW36DS4QVSPCGUVBAUPJQOZZ5GO73Q/