OpenStack cleanup script 45/2345/22
authorjose.lausuch <jose.lausuch@ericsson.com>
Thu, 8 Oct 2015 13:34:02 +0000 (15:34 +0200)
committerJose Lausuch <jose.lausuch@ericsson.com>
Mon, 14 Dec 2015 15:19:16 +0000 (15:19 +0000)
commitcf06a789e17a0922184fa90bd1864acc7bd15b1c
tree63e7b5319bef37daf7cd30c4caef7bdd1164ecd1
parentf7f763859d7cc870df5523952ef8b0053e93bdae
OpenStack cleanup script

This is needed in case any test case doesn't clean what it creates in openstack.
(This has been happening sometimes for Tempest, for example)

This script will remove:
- nova instances
- glance images
- cinder volumes
- networks/subnets/ports
- routers
- floating ips
- security groups
- users and tenants (not admin)

It won't remove the defaults.

Change-Id: Ie09a5ad481fc3d1b92f124362aea6906665a1629
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
testcases/VIM/OpenStack/CI/libraries/clean_openstack.py [new file with mode: 0644]
testcases/VIM/OpenStack/CI/libraries/test_openstack.sh [new file with mode: 0755]
testcases/functest_utils.py