[ovn] Apply soft anti-affinity for LRs with multiple LRPs when scheduling
Move scheduling logic from OVNClient._create_lrouter_port to an
ovsdbapp command so that scheduling decisions are made on up to
date information as the transaction applies.
One of the main use cases for routers with multiple gateway
ports are resiliency. Whenever there are multiple LRPs present in
a LR, we want to ensure diverse placement of the ports to
minimize impact of chassis failure.
Reviewed: https:/ /review. opendev. org/c/openstack /neutron/ +/873699 /opendev. org/openstack/ neutron/ commit/ 8df5ee61d980e95 5a46381ff9745b0 585d846ef5
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 8df5ee61d980e95 5a46381ff9745b0 585d846ef5
Author: Frode Nordahl <email address hidden>
Date: Mon Feb 13 14:03:35 2023 +0100
[ovn] Apply soft anti-affinity for LRs with multiple LRPs when scheduling
Move scheduling logic from OVNClient. _create_ lrouter_ port to an
ovsdbapp command so that scheduling decisions are made on up to
date information as the transaction applies.
One of the main use cases for routers with multiple gateway
ports are resiliency. Whenever there are multiple LRPs present in
a LR, we want to ensure diverse placement of the ports to
minimize impact of chassis failure.
Partial-Bug: #2002687 9ba0e7fc65950ea 252ad6803c4
Signed-off-by: Frode Nordahl <email address hidden>
Change-Id: I36860b739a8cb9