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

This commit is contained in:
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

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())