aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/SetupFramework.py
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2019-08-15 09:00:38 +0200
committerTibor Frank <tifrank@cisco.com>2019-08-15 07:33:11 +0000
commit16226fd221af3345c02de6d685c90ee6bf7cf9f9 (patch)
treec871b3059fe26e723afb2db697fe93bf25b44297 /resources/libraries/python/SetupFramework.py
parent545216fdee77b0b9ddc8d5e8c0f2e5662cacea76 (diff)
Add testbed info to output_info.xml
Change-Id: I2ff45926a754647c1be6263cf8e5e0c7cbfedfef Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/libraries/python/SetupFramework.py')
-rw-r--r--resources/libraries/python/SetupFramework.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/resources/libraries/python/SetupFramework.py b/resources/libraries/python/SetupFramework.py
index 79443b9d43..760d958c54 100644
--- a/resources/libraries/python/SetupFramework.py
+++ b/resources/libraries/python/SetupFramework.py
@@ -144,8 +144,6 @@ def setup_node(node, tarball, remote_tarball, results=None):
result = False
else:
logger.console('Setup of node {ip} done.'.format(ip=host))
- logger.info('Setup of {type} node {ip} done.'.format(type=node['type'],
- ip=host))
result = True
if isinstance(results, list):
@@ -248,6 +246,9 @@ class SetupFramework(object):
delete_local_tarball(tarball)
if all(results):
logger.console('All nodes are ready.')
+ for node in nodes.values():
+ logger.info('Setup of {type} node {ip} done.'.
+ format(type=node['type'], ip=node['host']))
else:
raise RuntimeError('Failed to setup framework.')