This group is locked. No changes can be made to the group while it is locked.
[OVSDB MDSAL] Creating VXLAN tunnel
Andrej Kincel -X (akincel - Pantheon Technologies SRO@Cisco) <akincel@...>
I would like to ask for an advice on how to configure VXLAN tunnel between two OVS Bridges, while using purely only OVSDB MDSAL Southbound API.
I can configure Port/Interface (TerminationPoint) as VXLAN requires, in other words with use of OVSDB I’m able to reproduce command:
Bridge1: ovs-vsctl add-port br1 vxlan12 -- set interface vxlan12 type=vxlan options:local_ip=10.100.100.1 options:remote_ip=10.100.100.2
Bridge2: ovs-vsctl add-port br2 vxlan21 -- set interface vxlan21 type=vxlan options:local_ip=10.100.100.2 options:remote_ip=10.100.100.1
However, the tunnel will not work unless the entered IP addresses are not corresponding to IP addresses of network interfaces of machine, where OVS is running (please correct me if I’m wrong). So the question is, how to get these IPs or how to set them using OVSDB.
Before, we were usually manually configuring virtual network interfaces for VXLAN tunnel purposes.