summaryrefslogtreecommitdiffstats
path: root/sdnvpn/lib/results.py
diff options
context:
space:
mode:
authorRomanos Skiadas <rski@intracom-telecom.com>2016-09-08 16:23:40 +0300
committerRomanos Skiadas <rski@intracom-telecom.com>2017-03-02 15:54:33 +0200
commitbe5cd25ed85bb42f4115b49aec13ddfec20c1b97 (patch)
tree656520216279d026ad7c1bd3c8eb013deb810648 /sdnvpn/lib/results.py
parent71273a2b8d51725be2743010fb65fb46229dd10c (diff)
Implement quagga peering
- Create an openstack instance - Assign it a floating IP - Execute a quagga bootstrap script using cloud init - Tell ODL to peer with the instance - Start an instance in a VPN - make sure the route was exchanged between the peered quagga and ODL Change-Id: I73bcaec5425df2b953c2bceaca7d4f09ff28f3d0 Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
Diffstat (limited to 'sdnvpn/lib/results.py')
-rw-r--r--sdnvpn/lib/results.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/sdnvpn/lib/results.py b/sdnvpn/lib/results.py
index 5661d07..9f4fd19 100644
--- a/sdnvpn/lib/results.py
+++ b/sdnvpn/lib/results.py
@@ -114,6 +114,12 @@ class Results(object):
def add_success(self, test):
self.add_to_summary(2, "PASS", test)
+ def add_subtest(self, test, successful):
+ if successful:
+ self.add_success(test)
+ else:
+ self.add_failure(test)
+
def check_ssh_output(self, vm_source, vm_target,
expected, timeout=30):
console_log = vm_source.get_console_output()