From f94182f77d8910566dec31d239d97f5a2bcdffe7 Mon Sep 17 00:00:00 2001
From: Maxime Guyot <Miouge1@users.noreply.github.com>
Date: Thu, 21 Jan 2021 21:51:02 +0100
Subject: [PATCH] Add cleanup of openstack network ports in CI (#7201)

---
 scripts/openstack-cleanup/main.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/scripts/openstack-cleanup/main.py b/scripts/openstack-cleanup/main.py
index 0795875a9..5f6d0c398 100755
--- a/scripts/openstack-cleanup/main.py
+++ b/scripts/openstack-cleanup/main.py
@@ -42,6 +42,10 @@ def main():
     map_if_old(conn.network.delete_security_group,
                conn.network.security_groups())
 
+    print('Ports...')
+    map_if_old(conn.network.delete_port,
+               conn.network.ports())
+
     print('Subnets...')
     map_if_old(conn.network.delete_subnet,
                conn.network.subnets())
-- 
GitLab