[ovs-git] [ovn-org/ovn] 94fc72: ic: remove orphan port_binding after ts deletion

Vladislav Odintsov noreply at github.com
Tue Sep 7 17:47:11 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/ovn-org/ovn
  Commit: 94fc72fce2ce4eed8f3efad5a3303e0b6232f1dc
      https://github.com/ovn-org/ovn/commit/94fc72fce2ce4eed8f3efad5a3303e0b6232f1dc
  Author: Vladislav Odintsov <odivlad at gmail.com>
  Date:   2021-09-07 (Tue, 07 Sep 2021)

  Changed paths:
    M ic/ovn-ic.c
    M tests/ovn-ic.at

  Log Message:
  -----------
  ic: remove orphan port_binding after ts deletion

When IC port_binding exists and transit switch is deleted,
the orphan port_binding is left in the IC_SB_DB.

This patch fixes such situation and adds test for this case.

Signed-off-by: Vladislav Odintsov <odivlad at gmail.com>
Signed-off-by: Han Zhou <hzhou at ovn.org>




More information about the git mailing list