summaryrefslogtreecommitdiffstats
path: root/test/functest/testcase_4.py
diff options
context:
space:
mode:
authorRomanos Skiadas <rski@intracom-telecom.com>2016-12-02 10:01:12 +0200
committerRomanos Skiadas <rski@intracom-telecom.com>2016-12-02 10:24:02 +0200
commit1709d20268322703a3fa31bc0d3df8a5c669d488 (patch)
tree8a7f186bbfee2efbfb7bf9e259418f929763e199 /test/functest/testcase_4.py
parentecec8d640a8ac1f2c82a63326073bb6baddb9b6f (diff)
Move logging instance creation to create_instance
Change-Id: I299f2be3b127aefdd7036fa68fb934b09d278692 Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
Diffstat (limited to 'test/functest/testcase_4.py')
-rw-r--r--test/functest/testcase_4.py11
1 files changed, 1 insertions, 10 deletions
diff --git a/test/functest/testcase_4.py b/test/functest/testcase_4.py
index 6866b1d..bb25cce 100644
--- a/test/functest/testcase_4.py
+++ b/test/functest/testcase_4.py
@@ -83,8 +83,6 @@ def main():
secgroup_name=TESTCASE_CONFIG.secgroup_name,
compute_node=av_zone_1)
vm_2_ip = vm_2.networks.itervalues().next()[0]
- logger.debug("Instance '%s' booted successfully. IP='%s'." %
- (TESTCASE_CONFIG.instance_2_name, vm_2_ip))
vm_3 = test_utils.create_instance(
nova_client,
@@ -95,8 +93,6 @@ def main():
secgroup_name=TESTCASE_CONFIG.secgroup_name,
compute_node=av_zone_2)
vm_3_ip = vm_3.networks.itervalues().next()[0]
- logger.debug("Instance '%s' booted successfully. IP='%s'." %
- (TESTCASE_CONFIG.instance_3_name, vm_3_ip))
vm_5 = test_utils.create_instance(
nova_client,
@@ -107,8 +103,6 @@ def main():
secgroup_name=TESTCASE_CONFIG.secgroup_name,
compute_node=av_zone_2)
vm_5_ip = vm_5.networks.itervalues().next()[0]
- logger.debug("Instance '%s' booted successfully. IP='%s'." %
- (TESTCASE_CONFIG.instance_5_name, vm_5_ip))
# We boot vm5 first because we need vm5_ip for vm4 userdata
u4 = test_utils.generate_ping_userdata([vm_5_ip])
@@ -122,8 +116,6 @@ def main():
compute_node=av_zone_1,
userdata=u4)
vm_4_ip = vm_4.networks.itervalues().next()[0]
- logger.debug("Instance '%s' booted successfully. IP='%s'." %
- (TESTCASE_CONFIG.instance_4_name, vm_4_ip))
# We boot VM1 at the end because we need to get the IPs first to generate
# the userdata
@@ -141,8 +133,7 @@ def main():
compute_node=av_zone_1,
userdata=u1)
vm_1_ip = vm_1.networks.itervalues().next()[0]
- logger.debug("Instance '%s' booted successfully. IP='%s'." %
- (TESTCASE_CONFIG.instance_1_name, vm_1_ip))
+
msg = ("Create VPN with eRT<>iRT")
logger.info(msg)
results.add_to_summary(1, msg)