Add cleanup of openstack network ports in CI (#7201)

pull/7204/head
Maxime Guyot 2021-01-21 21:51:02 +01:00 committed by GitHub
parent 222a77dfe7
commit f94182f77d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -42,6 +42,10 @@ def main():
map_if_old(conn.network.delete_security_group, map_if_old(conn.network.delete_security_group,
conn.network.security_groups()) conn.network.security_groups())
print('Ports...')
map_if_old(conn.network.delete_port,
conn.network.ports())
print('Subnets...') print('Subnets...')
map_if_old(conn.network.delete_subnet, map_if_old(conn.network.delete_subnet,
conn.network.subnets()) conn.network.subnets())