Example #1
0
 def runTest(self):
     logging.info("Running " + str(self))
     table_mod = ofp.message.table_mod()
     table_mod.table_id = 0 # first table should always exist
     table_mod.config = ofp.OFPTC_TABLE_MISS_CONTROLLER
     
     rv = self.controller.message_send(table_mod)
     self.assertTrue(rv != -1, "Error sending table_mod")
     testutils.do_echo_request_reply_test(self, self.controller)
Example #2
0
 def runTest(self):
     testutils.do_echo_request_reply_test(self, self.controller)