Skip to content
Snippets Groups Projects
Unverified Commit 808524be authored by Kay Yan's avatar Kay Yan Committed by GitHub
Browse files

fix-ci-tf-elastx_cleanup (#10133)

parent 75e00420
No related branches found
No related tags found
No related merge requests found
......@@ -59,6 +59,9 @@ def main():
except Exception as ex:
print("Failed to delete subnet from router as %s", ex)
for ip in conn.network.ips():
fn_if_old(conn.network.delete_ip, ip)
# After removing unnecessary subnet from router, retry to delete ports
map_if_old(conn.network.delete_port,
conn.network.ports())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment