Add testbed info to output_info.xml 19/21319/3
authorTibor Frank <tifrank@cisco.com>
Thu, 15 Aug 2019 07:00:38 +0000 (09:00 +0200)
committerTibor Frank <tifrank@cisco.com>
Thu, 15 Aug 2019 07:33:11 +0000 (07:33 +0000)
Change-Id: I2ff45926a754647c1be6263cf8e5e0c7cbfedfef
Signed-off-by: Tibor Frank <tifrank@cisco.com>
resources/libraries/python/SetupFramework.py

index 79443b9..760d958 100644 (file)
@@ -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.')
 

©2016 FD.io a Linux Foundation Collaborative Project. All Rights Reserved.
Linux Foundation is a registered trademark of The Linux Foundation. Linux is a registered trademark of Linus Torvalds.
Please see our privacy policy and terms of use.