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:
parent
29027c2db4
commit
4030ec74b2
@ -747,7 +747,7 @@ class TargetSw(OpenFlowSw):
|
||||
command=ofp.OFPFC_DELETE,
|
||||
out_port=ofp.OFPP_ANY,
|
||||
out_group=ofp.OFPG_ANY)
|
||||
self.dp.send_msg(mod)
|
||||
return self._send_msg(mod)
|
||||
|
||||
def send_flow_stats(self):
|
||||
""" Get all flow. """
|
||||
|
Loading…
Reference in New Issue
Block a user