summaryrefslogtreecommitdiffstats
path: root/test/functest/utils.py
diff options
context:
space:
mode:
authorJose Lausuch <jose.lausuch@ericsson.com>2016-12-07 15:22:57 +0000
committerGerrit Code Review <gerrit@opnfv.org>2016-12-07 15:22:57 +0000
commit2445ba0a0325611e0b927ecc7ed4d361426e5fc4 (patch)
tree79ba97f87cc87ea2c9d660ddae5b8f987eeab33e /test/functest/utils.py
parent9ec2e4ab7b779bdcbb479664cb1b27be912d98c9 (diff)
parent1709d20268322703a3fa31bc0d3df8a5c669d488 (diff)
Merge "Move logging instance creation to create_instance"
Diffstat (limited to 'test/functest/utils.py')
-rw-r--r--test/functest/utils.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/functest/utils.py b/test/functest/utils.py
index 351797b..90dfe93 100644
--- a/test/functest/utils.py
+++ b/test/functest/utils.py
@@ -112,6 +112,9 @@ def create_instance(nova_client,
if instance is None:
logger.error("Error while booting instance.")
sys.exit(-1)
+ else:
+ logger.debug("Instance '%s' booted successfully. IP='%s'." %
+ (name, instance.networks.itervalues().next()[0]))
# Retrieve IP of INSTANCE
# instance_ip = instance.networks.get(network_id)[0]