aboutsummaryrefslogtreecommitdiffstats
path: root/nfvbench/cleanup.py
diff options
context:
space:
mode:
authorfmenguy <francoisregis.menguy@orange.com>2021-06-04 14:21:29 +0200
committerfmenguy <francoisregis.menguy@orange.com>2021-06-04 14:21:29 +0200
commit1ab93ad2bba7ca570d72c4823321169b9f235cf8 (patch)
treeb7b17758fa07607bf647cae478a4a3d841cc5c51 /nfvbench/cleanup.py
parentd181b23c2fc078faac0342de6102c62fb8a4f1f7 (diff)
NFVBENCH-212 Add clouds.yaml file as a config file to use for openstack API access
Change-Id: If855ffda1070ed9c9c4544230e4efec185a93f45 Signed-off-by: fmenguy <francoisregis.menguy@orange.com>
Diffstat (limited to 'nfvbench/cleanup.py')
-rw-r--r--nfvbench/cleanup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nfvbench/cleanup.py b/nfvbench/cleanup.py
index 23cdf56..cefdcfa 100644
--- a/nfvbench/cleanup.py
+++ b/nfvbench/cleanup.py
@@ -235,7 +235,7 @@ class Cleaner(object):
"""Cleaner for all NFVbench resources."""
def __init__(self, config):
- cred = credentials.Credentials(config.openrc_file, None, False)
+ cred = credentials.Credentials(config.openrc_file, config.clouds_detail, None, False)
session = cred.get_session()
self.neutron_client = nclient.Client('2.0', session=session)
self.nova_client = Client(2, session=session)