Esempio n. 1
0
 def runTest(self):
     basic_logger.info("Running " + str(self))
     table_mod = 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)
Esempio n. 2
0
    def runTest(self):
        basic_logger.info("Running " + str(self))
        table_mod = 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)
Esempio n. 3
0
 def runTest(self):
     testutils.do_echo_request_reply_test(self, self.controller)
Esempio n. 4
0
 def runTest(self):
     testutils.do_echo_request_reply_test(self, self.controller)