summaryrefslogtreecommitdiffstats
path: root/sdnvpn/test/functest/testcase_3.py
diff options
context:
space:
mode:
authortomsou <soth@intracom-telecom.com>2017-05-16 08:50:49 +0000
committertomsou <soth@intracom-telecom.com>2017-06-20 07:35:28 +0000
commit7b9af7888492bbca6037d0cdd1306e9f62600598 (patch)
tree3052dce6259f1ed1580f647a4b321d1f55e58573 /sdnvpn/test/functest/testcase_3.py
parentde80ee56c458b127be3497f3882bc1c962f42dfe (diff)
Restore peering within testcase3 for Apex
Change-Id: I7f3a4892e6ef73fb13512e427fab3e42ff1b69d9 Signed-off-by: tomsou <soth@intracom-telecom.com>
Diffstat (limited to 'sdnvpn/test/functest/testcase_3.py')
-rw-r--r--sdnvpn/test/functest/testcase_3.py29
1 files changed, 13 insertions, 16 deletions
diff --git a/sdnvpn/test/functest/testcase_3.py b/sdnvpn/test/functest/testcase_3.py
index 85a8827..dbbdb59 100644
--- a/sdnvpn/test/functest/testcase_3.py
+++ b/sdnvpn/test/functest/testcase_3.py
@@ -262,26 +262,23 @@ def main():
results.add_failure(testcase)
results.add_to_summary(0, "=")
- # TODO remove this and include apex again
- installer_type = str(os.environ['INSTALLER_TYPE'].lower())
- if installer_type != "apex":
-
- results.add_to_summary(0, '-')
- results.add_to_summary(1, "Peer Quagga with OpenDaylight")
- results.add_to_summary(0, '-')
-
- neighbor = quagga.odl_add_neighbor(fake_fip['fip_addr'],
- controller_ext_ip,
- controller)
- peer = quagga.check_for_peering(controller)
- if neighbor and peer:
- results.add_success("Peering with quagga")
- else:
- results.add_failure("Peering with quagga")
+ results.add_to_summary(0, '-')
+ results.add_to_summary(1, "Peer Quagga with OpenDaylight")
+ results.add_to_summary(0, '-')
+
+ neighbor = quagga.odl_add_neighbor(fake_fip['fip_addr'],
+ controller_ext_ip,
+ controller)
+ peer = quagga.check_for_peering(controller)
finally:
test_utils.detach_instance_from_ext_br(quagga_vm, compute)
+ if neighbor and peer:
+ results.add_success("Peering with quagga")
+ else:
+ results.add_failure("Peering with quagga")
+
test_utils.cleanup_nova(nova_client, floatingip_ids, instance_ids,
image_ids)
test_utils.cleanup_neutron(neutron_client, bgpvpn_ids, interfaces,