First, let's explain my design

3 OVN, 1 on each site DC1, DC2 and DC3
On each OVN :
- one subnet with only one vm per DC (let's call them subnet-1 and
vm-1 on DC1, subnet-2 and vm-2 on DC2 and subnet-3 and vm-3 on DC3)
- each subnet is able to connect the external world with a provider
network, provider-1 on DC1, provider-2 on DC2, ...
- each subnet is able to connect to the others subnets via an OVN
Interconnect transit switch : sw-ts

On OVN-1, i have :
a sw-1 for the subnet-1 attached to vm-1 and lr-1
a lr-1 :
      attached to sw-1 and set as default gateway for subnet-1
      attached to sw-ts with ip1
      configured with a default gateway set to provider-1
      configured to route subnet-2 to ip2 (IP address of lr-2
port-to-sw-ts on DC2) and subnet-3 to ip3 (IP address of lr-3
port-to-sw-ts on DC3)
a sw-ts :
      attached locally to lr1 et remotely to lr2 and lr3 on
respectively DC2 and DC3

With this design :
      vm-1 is able to connect to vm-2 on DC2 and to vm-3 on DC3.
      vm-1 is able to connect to the external world via provider-1
(with a SNAT on lr-1)

For lr-1, i will to have two bindings :
      one for the OVN-IC connectivity to fix the node it will use to
connect the others node on DC2 and DC3
      one for the external connectivity to fix the node it will use to
connect to the provider network

If I have one network node on DC1, the two bindings for lr-1 will be
set on it (with the good configuration of course)
If I have two network nodes on DC1, i need to set the priority the
same way on the two bindings for them to stay on the same network node

If the "master" node loose its inter-DC connectivity, the "OVN-IC"
binding will change to the second node but the "external" binding will
stay on the master node : vm-1 can not anymore connect the other vms
on DC2 or DC3 !!!

Is there a way to "group" bindings so that they will be tight together
? If one must change of node, the other will change to the same node

Thank you for your help

Vincent
_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to