]> git.proxmox.com Git - ovs.git/commit
ovn: support requested-chassis option for logical switch ports
authorLance Richardson <lrichard@redhat.com>
Sat, 19 Aug 2017 20:23:34 +0000 (16:23 -0400)
committerRussell Bryant <russell@ovn.org>
Mon, 21 Aug 2017 15:54:27 +0000 (11:54 -0400)
commit63d91afa92ef602fb2abcae1281910966d88d2b7
treed7d77dcee64b83e7752b0871580a0e6886529688
parent2e1fca6c7e4f7898b560bca0b64afdad4c240c6f
ovn: support requested-chassis option for logical switch ports

This patch adds support for a "requested-chassis" option for logical
switch ports. If set, the only chassis that will claim this port is the
chassis identfied by this option; if already bound by another chassis,
it will be released.

The primary benefit of this enhancement is allowing a CMS to prevent
"thrashing" in the southbound database during live migration by keeping
the original chassis from attempting to re-bind a port that is in the
process of migrating.

This would also allow (with some additional work) RBAC to be applied
to the Port_Binding table for additional security.

Signed-off-by: Lance Richardson <lrichard@redhat.com>
Signed-off-by: Russell Bryant <russell@ovn.org>
ovn/controller/binding.c
ovn/ovn-nb.xml
ovn/ovn-sb.xml
tests/ovn.at