Fix and simplify reboot stress test. Add new env stuff.

Added stress environment var for max_instances.
Added tempest var for log_level of rest_client.

Change-Id: Ia92536a547cdab4d2496bd9ba9067be3595b79cd

xxxxx

Change-Id: I8c2f499a41f74c2fe6fb08c80ab6fc31f6b93426
diff --git a/stress/tools/nova_status.py b/stress/tools/nova_status.py
index 65dfc82..c0b7893 100755
--- a/stress/tools/nova_status.py
+++ b/stress/tools/nova_status.py
@@ -21,11 +21,12 @@
 

 # get the environment variables for credentials

 identity = tempest.config.TempestConfig().identity

-print identity.username, identity.password,\

-    identity.tenant_name, identity.auth_url

+compute = tempest.config.TempestConfig().compute

+print compute.username, compute.password,\

+    compute.tenant_name, identity.auth_url

 

-nt = client.Client(identity.username, identity.password,

-                   identity.tenant_name, identity.auth_url)

+nt = client.Client(compute.username, compute.password,

+                   compute.tenant_name, identity.auth_url)

 

 flavor_list = nt.flavors.list()

 server_list = nt.servers.list()