blob: 45c656951250d54766b6e48f23868f04114edd8a [file] [log] [blame]
-- binary
00 68 # length
03 # table_id
00 # pad
00 3f ff ff # match.wildcards
00 00 00 00 # remaining match fields
00 00 00 00 00 00 00 00 # ...
00 00 00 00 00 00 00 00 # ...
00 00 00 00 00 00 00 00 # ...
00 00 00 00 00 00 00 00 # ...
00 00 00 01 # duration_sec
00 00 00 02 # duration_nsec
00 64 # priority
00 05 # idle_timeout
00 0a # hard_timeout
00 00 00 00 00 00 # pad
01 23 45 67 89 ab cd ef # cookie
00 00 00 00 00 00 00 0a # packet_count
00 00 00 00 00 00 03 e8 # byte_count
00 00 # actions[0].type
00 08 # actions[0].len
00 01 # actions[0].port
00 00 # actions[0].max_len
00 00 # actions[1].type
00 08 # actions[1].len
00 02 # actions[1].port
00 00 # actions[1].max_len
-- python
ofp.flow_stats_entry(
table_id=3,
match=ofp.match(),
duration_sec=1,
duration_nsec=2,
priority=100,
idle_timeout=5,
hard_timeout=10,
cookie=0x0123456789abcdef,
packet_count=10,
byte_count=1000,
actions=[
ofp.action.output(port=1),
ofp.action.output(port=2)])