Kay Yan
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
0 deletions
-
scripts/openstack-cleanup/main.py
|
@ -59,6 +59,9 @@ def main(): |
|
|
except Exception as ex: |
|
|
except Exception as ex: |
|
|
print("Failed to delete subnet from router as %s", 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 |
|
|
# After removing unnecessary subnet from router, retry to delete ports |
|
|
map_if_old(conn.network.delete_port, |
|
|
map_if_old(conn.network.delete_port, |
|
|
conn.network.ports()) |
|
|
conn.network.ports()) |
|
|