fix bug in the example of flow_stats_reply

Signed-off-by: morland <mqy_bs@hotmail.com>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
morland 2017-11-20 12:12:29 +00:00 committed by FUJITA Tomonori
parent 9aa56ef3bd
commit 7f6d8730ab

View File

@ -2197,12 +2197,12 @@ class OFPFlowStatsReply(OFPStatsReply):
'idle_timeout=%d hard_timeout=%d '
'cookie=%d packet_count=%d byte_count=%d '
'actions=%s' %
(stat.table_id,
(stat.table_id, stat.match,
stat.duration_sec, stat.duration_nsec,
stat.priority,
stat.idle_timeout, stat.hard_timeout,
stat.cookie, stat.packet_count, stat.byte_count,
stat.match, stat.actions))
stat.actions))
self.logger.debug('FlowStats: %s', flows)
"""
def __init__(self, datapath):