aboutsummaryrefslogtreecommitdiffstats
path: root/tools/os_deploy_tgen
diff options
context:
space:
mode:
authorSridhar K. N. Rao <sridhar.rao@spirent.com>2021-04-28 18:39:15 +0530
committerSridhar K. N. Rao <sridhar.rao@spirent.com>2021-06-15 21:26:56 +0530
commit76878eb2972ad789c2eb7fe3f2eefa285b3e72d6 (patch)
tree05ffec474c2181429d4139b3ff721516b87b8170 /tools/os_deploy_tgen
parent300d9f201aba1b8e30387138acaba79a72502d82 (diff)
[WIP] - Reporting support for Openstack and K8S Test Runs.
This patch adds support for generating report when tests are run for K8S and openstack. Added cloud-information gathering tool. Move the tool to report folder. Call the save cloud information from vsperf. Fixed issues reported by Al. Additional fixes. JIRA: VINEPERF-644 Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com> Change-Id: I4aea2e52a4c6700f80624f3e1828b74a108e03ba
Diffstat (limited to 'tools/os_deploy_tgen')
-rw-r--r--tools/os_deploy_tgen/osclients/openstack.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/os_deploy_tgen/osclients/openstack.py b/tools/os_deploy_tgen/osclients/openstack.py
index 58297e6c..4561db51 100644
--- a/tools/os_deploy_tgen/osclients/openstack.py
+++ b/tools/os_deploy_tgen/osclients/openstack.py
@@ -63,6 +63,7 @@ class OpenStackClient():
if openstack_params['os_insecure']:
cloud_config.config['verify'] = False
cloud_config.config['cacert'] = None
+ self.conn = connection.Connection(config=cloud_config)
self.keystone_session = cloud_config.get_session()
self.nova = cloud_config.get_legacy_client('compute')
self.neutron = cloud_config.get_legacy_client('network')