Hi Carl,

What you want is probably to use the l2gateway type logical switch port in OVN.
Please refer to the following doc for the description (not very detailed unfortunately):
    http://www.openvswitch.org//support/dist-docs/ovn-nb.5.txt
Look at the Logical_Switch_Port Table type field, along with some of the options keys.

Unfortunately we do not support this in ovirt, nor is this supported in ovirt-provider-ovn.
To use this ovn feature, you will have to manually add an l2gateway port to your environment.

Marcin



On Sun, Jun 24, 2018 at 11:18 PM, <carlgrundholm@gmail.com> wrote:
I have install ovirt 4.2.3 and everything seems to be working fine: I can create virtual (Geneve overlay) networks for communication between virtual machines via the external provider ovirt-provider-ovn by using the OWS switch on the cluster. Live migrations and everything else within the virtual environment works perfectly :-)

For connections from virtual machines to physical VLAN's in a switch, I can also create a logical network which is created using the external provider ovirt-provider-ovn by specifying a connection to a physical VLAN network created as a separate data center network. This method requires that all ovirt-nodes (hosts) in the cluster have access to the physical network though.

What I am looking for is a way to implement a L2 Gateway such that (not all) ovirt nodes (hosts) need to have direct access to the physical network. What I am looking for is a way where virtual machines can communicate with the L2 Gateway via virtual (Geneve overlay) networks. On the L2 Gateway the virtual network shall then be bridged to the physical VLAN on a dedicated network interface. My goal is that the virtual network and the physical network becomes one big broadcast domain.

This concept has been described by different people on the Internet such as these articles:
- https://weiti.org/ovn/2018/01/03/ovn-l2-breakout-options
- https://wiki.openstack.org/wiki/Neutron/L2-GW

How can I accomplish something similar in an ovirt-environment?

Thanks in advance,

Carl Grundholm
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-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/users@ovirt.org/message/SUQWX4PAQ2OWM6LQIEQALKEC7YSDHCF2/