Ovs as a router
I need to connect two openstack clusters via a router. I use a pc with 3 Ethernet ports and install openvswitch on it. I created an ovs bridge, got it connected to a sdn controller using eth0. I also added the other two physical Ethernet ports to this bridge. Now my ovs bridge has 4 ports naming local, eth0, eth1 and eth2. I need to route traffic between eth1 and eth2. I also added some flow rules for default routing. I just don't know how to assign two ips addresses to the ovs bridge at the same time(for eth1 and eth2). Do I need to use two seperate ovs for each Ethernet port?
Don't know what you want indeed. If you want two os-clusters communicate with each, I assume, you can simple use floating ip and configura three-layer routing policy for the two clusters. There is no need to use ovs and linux network can do this well.
This is an experiment for the role of SDN in wm migration between two layer3 domains. This is why I need to do that in a way I explained. I know there are many easier way to do that but I have to do it as I explained before