Change fixed/floating ip clients to return one value and update tests
Add ResponseBodyData for cases like delete_floating_ips_bulk where a
string is returned as the body. The client has to dereference the data
but I think this is a bit cleaner than having some methods return two values.
Partially implements: blueprint clients-return-one-value
Change-Id: I87b092b2dd2a231049fc39312038f2a2d5101028
diff --git a/tempest/stress/cleanup.py b/tempest/stress/cleanup.py
index b52eca9..c2e33a1 100644
--- a/tempest/stress/cleanup.py
+++ b/tempest/stress/cleanup.py
@@ -55,7 +55,7 @@
except Exception:
pass
- _, floating_ips = admin_manager.floating_ips_client.list_floating_ips()
+ floating_ips = admin_manager.floating_ips_client.list_floating_ips()
LOG.info("Cleanup::remove %s floating ips" % len(floating_ips))
for f in floating_ips:
try: