mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-05-14 09:06:33 +02:00
dump table_id and match in flowstats
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
6c10625f55
commit
9282101c43
@ -316,7 +316,10 @@ class RPCApi(app_manager.RyuApp):
|
||||
flow_sem.release()
|
||||
if contexts:
|
||||
stats = {'byte_count': body.byte_count,
|
||||
'packet_count': body.packet_count}
|
||||
'packet_count': body.packet_count,
|
||||
'match': body.match.to_jsondict(),
|
||||
#'inst': body.instructions,
|
||||
'table_id': body.table_id}
|
||||
stats.update(contexts)
|
||||
stats['timestamp'] = time.strftime("%Y-%m-%dT%H:%M:%S")
|
||||
STATS.info(stats)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user