]> git.proxmox.com Git - mirror_ovs.git/commit
connmgr: Support changing openflow versions without restarting.
authorAaron Conole <aconole@redhat.com>
Wed, 12 Aug 2020 20:07:55 +0000 (16:07 -0400)
committerIlya Maximets <i.maximets@ovn.org>
Mon, 17 Aug 2020 19:39:31 +0000 (21:39 +0200)
commitc0781515a90f60e91975378199382c878590f06b
tree004f1630b01f0180b5638bbfc3141892a70600ce
parent64d2653a85f5ca4b15ea3bda058322b6b692bbc4
connmgr: Support changing openflow versions without restarting.

When commit a0baa7dfa4fe ("connmgr: Make treatment of active and passive
connections more uniform") was applied, it did not take into account
that a reconfiguration of the allowed_versions setting would require a
reload of the ofservice object (only accomplished via a restart of OvS).

For now, during the reconfigure cycle, we delete the ofservice object and
then recreate it immediately.  A new test is added to ensure we do not
break this behavior again.

Fixes: a0baa7dfa4fe ("connmgr: Make treatment of active and passive connections more uniform")
Suggested-by: Ben Pfaff <blp@ovn.org>
Reported-at: https://bugzilla.redhat.com/show_bug.cgi?id=1782834
Signed-off-by: Aaron Conole <aconole@redhat.com>
Acked-by: Flavio Leitner <fbl@sysclose.org>
Acked-by: Numan Siddique <numans@ovn.org>
Tested-by: Numan Siddique <numans@ovn.org>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
ofproto/connmgr.c
tests/bridge.at