ospurge/ospurge/tests/resources
Hamza Alqtaishat 39a159f8c7 Adding the disable feature
This feature allow the disable of most of the project resources
in some cases the admin want to disable the project and wait
for period of time before deleting the resources just in case
some resources are still usable or need to be moved to another
project

for nova the disable will stop the servers
for neutron it will change the admin_state_up to false which
will change the status of resource to down
for glance it will deactivate the images
for swift it will remove the read/write acls to container
for octaivia chenge the admin_state_up to false making the
status of loadbalancer down
for cinder it will change the volume to readonly

for the resources that dont have a way of disabling the
resource it will just log a warning

Change-Id: Ic2af6ad1ffb1e749a3d1ba687950264b5098bcdb
2019-10-14 21:33:38 +00:00
..
__init__.py OSPurge version 2 2016-12-15 10:49:25 +01:00
entry_points.py Add support for entry points 2019-03-13 15:50:35 +01:00
test_base.py Python2: Fix metaclass, super() and OrderedMeta 2017-11-13 09:13:43 +01:00
test_cinder.py Adding the disable feature 2019-10-14 21:33:38 +00:00
test_designate.py Adding the disable feature 2019-10-14 21:33:38 +00:00
test_glance.py Adding the disable feature 2019-10-14 21:33:38 +00:00
test_heat.py Adding the disable feature 2019-10-14 21:33:38 +00:00
test_neutron.py Adding the disable feature 2019-10-14 21:33:38 +00:00
test_nova.py Adding the disable feature 2019-10-14 21:33:38 +00:00
test_octavia.py Adding the disable feature 2019-10-14 21:33:38 +00:00
test_swift.py Adding the disable feature 2019-10-14 21:33:38 +00:00