Initial Oslo sync for Tempest.
This patch syncs cfg, iniparser, and setup from oslo.
Additionally, to avoid a name conflict tempest.openstack was
renamed tempest.clients.
Also, the duplicate copy of setup.py in tempest.common was removed
and all references to it were updated.
Change-Id: I6ed3a97e35ce73b820f7a436214480051ed6528f
diff --git a/stress/tests/create_kill.py b/stress/tests/create_kill.py
index 26600de..2565723 100644
--- a/stress/tests/create_kill.py
+++ b/stress/tests/create_kill.py
@@ -17,14 +17,14 @@
from stress.test_servers import *
from stress.basher import BasherAction
from stress.driver import *
-from tempest import openstack
+from tempest import clients
choice_spec = [
BasherAction(TestCreateVM(), 50),
BasherAction(TestKillActiveVM(), 50)
]
-nova = openstack.Manager()
+nova = clients.Manager()
bash_openstack(nova,
choice_spec,
diff --git a/stress/tests/floating_ips.py b/stress/tests/floating_ips.py
index 8db06d4..d62e892 100755
--- a/stress/tests/floating_ips.py
+++ b/stress/tests/floating_ips.py
@@ -16,14 +16,14 @@
from stress.basher import BasherAction
from stress.driver import *
from stress.test_floating_ips import TestChangeFloatingIp
-from tempest import openstack
+from tempest import clients
choice_spec = [
BasherAction(TestChangeFloatingIp(), 100)
]
-nova = openstack.Manager()
+nova = clients.Manager()
bash_openstack(nova,
choice_spec,
diff --git a/stress/tests/hard_reboots.py b/stress/tests/hard_reboots.py
index 324b133..f35c6de 100644
--- a/stress/tests/hard_reboots.py
+++ b/stress/tests/hard_reboots.py
@@ -18,7 +18,7 @@
from stress.test_server_actions import *
from stress.basher import BasherAction
from stress.driver import *
-from tempest import openstack
+from tempest import clients
choice_spec = [
BasherAction(TestCreateVM(), 50),
@@ -26,7 +26,7 @@
kargs={'type': 'HARD'})
]
-nova = openstack.Manager()
+nova = clients.Manager()
bash_openstack(nova,
choice_spec,
diff --git a/stress/tests/user_script_sample.py b/stress/tests/user_script_sample.py
index 51270a7..04163e3 100644
--- a/stress/tests/user_script_sample.py
+++ b/stress/tests/user_script_sample.py
@@ -18,7 +18,7 @@
from stress.test_servers import *
from stress.basher import BasherAction
from stress.driver import *
-from tempest import openstack
+from tempest import clients
choice_spec = [
BasherAction(TestCreateVM(), 50,
@@ -27,7 +27,7 @@
]
-nova = openstack.Manager()
+nova = clients.Manager()
bash_openstack(nova,
choice_spec,