[ovs-dev] [PATCH branch-2.12 0/4] OVN: Backport virtual port related fixes.

Dumitru Ceara dceara at redhat.com
Tue Apr 7 11:03:06 UTC 2020


This series backports the following OVN virtual port related fixes from
upstream OVN master and branch-20.03:
- patch1: update non-virtual port bindings first in an iteration loop to
  avoid generating two SB DB transactions.
- patch2: fix virtual port bindings to allow parents scheduled in the
  same chassis.
- patch3: add NULL check when accessing the "virtual_parent" column for
  virtual port bindings.
- patch4: skip explicitly binding virtual ports to OVS interfaces.

All patches apply cleanly but for patch2 the unit test had to be adjusted
to check for the correct lr_in_arp_resolve table ID.

CC: Numan Siddique <nusiddiq at redhat.com>
Fixes: 054f4c85c413 ("Add a new logical switch port type - 'virtual'")
Signed-off-by: Dumitru Ceara <dceara at redhat.com>

Dumitru Ceara (3):
      ovn-controller: Consider non-virtual ports first when updating bindings.
      ovn-controller: Fix potential segfault with "virtual" port bindings.
      ovn-controller: Skip vport bindings done through OVS external_ids:iface-id.

Numan Siddique (1):
      Fix virtual port binding when the parents are scheduled in the same chassis


 ovn/controller/binding.c    |  113 ++++++++++++++++++++++++++++++++-----------
 ovn/northd/ovn-northd.8.xml |    2 -
 ovn/northd/ovn-northd.c     |    3 -
 tests/ovn.at                |   77 +++++++++++++++++++++++++++--
 4 files changed, 157 insertions(+), 38 deletions(-)




More information about the dev mailing list