[ovs-dev] [PATCH v2] ovn: support requested-chassis option for logical switch ports

Russell Bryant russell at ovn.org
Mon Aug 21 15:57:06 UTC 2017


On Sat, Aug 19, 2017 at 4:23 PM, Lance Richardson <lrichard at redhat.com> wrote:
> 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 at redhat.com>
> ---
> v2: Added documentation text suggested by Russell Bryant.
>
>  ovn/controller/binding.c | 15 +++++++++++-
>  ovn/ovn-nb.xml           |  8 +++++++
>  ovn/ovn-sb.xml           |  8 +++++++
>  tests/ovn.at             | 59 ++++++++++++++++++++++++++++++++++++++++++++++++
>  4 files changed, 89 insertions(+), 1 deletion(-)

Thanks, Lance.  I applied this to master and branch-2.8.


More information about the dev mailing list