Signed-off-by: Xavier Simonart <[email protected]>
---
 tests/multinode-macros.at | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tests/multinode-macros.at b/tests/multinode-macros.at
index cdb1d8949..1d2c5e4fe 100644
--- a/tests/multinode-macros.at
+++ b/tests/multinode-macros.at
@@ -139,6 +139,11 @@ cleanup_multinode_resources_by_nodes() {
     for c; do
         m_as $c ovs-vsctl del-br br-int
         m_as $c ip --all netns delete
+        # Deleting br-int & nb.db deleted patch ports such as 
patch-br-int-to-public1-ln
+        # but not the patch ports attached to br-ex such as 
patch-public1-ln-to-br-int.
+        for i in $(m_as $c ovs-vsctl --bare --columns name list port | grep 
patch); do
+            m_as $c ovs-vsctl del-port $i;
+        done
     done
 }
 
-- 
2.47.1

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to