mdsal clustering

MichaƂ Skalski <michal@...>


I'm trying to use OpenDaylight ovsdb integration with OpenStack Juno.
When I only have one odl controller it works ok, but I have some
problems when I try to activate odl-mdsal-clustering feature.
In my environment I have 3 odl controllers with IP addresses:, and, on all of them I have
similar configuration like in this gist:
I put ovsdb plugin from all controllers behind haproxy which listen on
VIP address:

When I want to connect ovs to odl I use this command:
ovs-vsctl set-manager tcp:

so I use haproxy address and this is forwarded to one of the controllers.
For 5 vswitches which I tried connect only on some of them br-int
bridge was created by odl like for example here:

root@node-32:~# ovs-vsctl show
Manager "tcp:"
is_connected: true
Bridge br-int
Controller "tcp:"
is_connected: true
fail_mode: secure
Port br-int
Interface br-int
type: internal
ovs_version: "2.3.1"

When I want to add new network or attach vm interfaces are not created on ovs.

Does someone have experience with mdsal clustering and ovsdb plugin
and can share examples of configuration?
Can we put ovsdb manager behind haproxy like I did? What about
openflow controller address for ovs bridges? Ovsdb plugin only add one
controller address, should I manualy add rest of controller addresses?
Maybe it is possible to put openflow controllers behind haproxy but
how told ovsdb manager to set specific address on ovs?


Join to automatically receive all group messages.