commit | b46f852f09449a9bffcd0fac5224c3a6b8560208 | [log] [tgz] |
---|---|---|
author | ShreyaPandita <sdnadmin@SDNLABCOMPUTER.ads.iu.edu> | Fri Sep 28 15:12:15 2012 -0400 |
committer | ShreyaPandita <sdnadmin@SDNLABCOMPUTER.ads.iu.edu> | Fri Sep 28 15:12:15 2012 -0400 |
tree | 3ef99a92a091d6be60917495d0e65127a6da2cf8 | |
parent | 7b9ec982e387d09ed32ce3fecdd45a850f3875a2 [diff] |
added barrier
diff --git a/tests/actions.py b/tests/actions.py index 423a8d1..513e27b 100644 --- a/tests/actions.py +++ b/tests/actions.py
@@ -81,7 +81,8 @@ msg.match = match rv = self.controller.message_send(msg) self.assertTrue(rv != -1, "Error installing flow mod") - + self.assertEqual(do_barrier(self.controller), 0, "Barrier failed") + #Sending N packets matching the flow inserted for pkt_cnt in range(5): self.dataplane.send(of_ports[0],str(pkt))