sw test tool: FIX: return the transaction id when flow entries were deleted

OfTester._test_initialize() expects the transaction id as a return
value of TargetSw.del_test_flow() for checking the error.  but this
method at current version does not return the transaction id.

this patch gets del_test_flow() to return the transaction id.

Signed-off-by: Yuichi Ito <ito.yuichi0@gmail.com>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
Yuichi Ito 2014-02-07 09:44:28 +09:00 committed by FUJITA Tomonori
parent 29027c2db4
commit 4030ec74b2

View File

@ -747,7 +747,7 @@ class TargetSw(OpenFlowSw):
command=ofp.OFPFC_DELETE, command=ofp.OFPFC_DELETE,
out_port=ofp.OFPP_ANY, out_port=ofp.OFPP_ANY,
out_group=ofp.OFPG_ANY) out_group=ofp.OFPG_ANY)
self.dp.send_msg(mod) return self._send_msg(mod)
def send_flow_stats(self): def send_flow_stats(self):
""" Get all flow. """ """ Get all flow. """