Add resources for floating_ip, keypair, volume. Add floating_ip test.
Provide mechanism to pre-allocate vms, floating_ips, keypairs and volumes.
Abstract time-related functions to PendingAction and move server-specific
stuff to PendingServerAction subclass.
Rename State to ClusterState.
Add test that associates/disassociates floating_ips and servers.
Change-Id: I1651c38cc75d755bde370fb6a49ff4231e96255e
diff --git a/stress/tools/nova_destroy_all.py b/stress/tools/nova_destroy_all.py
index e9010cd..21cac11 100755
--- a/stress/tools/nova_destroy_all.py
+++ b/stress/tools/nova_destroy_all.py
@@ -31,6 +31,7 @@
images_list = nt.images.list()
keypairs_list = nt.keypairs.list()
floating_ips_list = nt.floating_ips.list()
+volumes_list = nt.volumes.list()
print "total servers: %3d, total flavors: %3d, total images: %3d," % \
(len(server_list),
@@ -52,3 +53,7 @@
print "deleting all floating_ips"
for s in floating_ips_list:
s.delete()
+
+print "deleting all volumes"
+for s in volumes_list:
+ s.delete()