blob: 45c656951250d54766b6e48f23868f04114edd8a [file] [log] [blame]
Rich Lane9a3f1fd2013-05-10 16:29:17 -07001-- binary
200 68 # length
303 # table_id
400 # pad
500 3f ff ff # match.wildcards
600 00 00 00 # remaining match fields
700 00 00 00 00 00 00 00 # ...
800 00 00 00 00 00 00 00 # ...
900 00 00 00 00 00 00 00 # ...
1000 00 00 00 00 00 00 00 # ...
1100 00 00 01 # duration_sec
1200 00 00 02 # duration_nsec
1300 64 # priority
1400 05 # idle_timeout
1500 0a # hard_timeout
1600 00 00 00 00 00 # pad
1701 23 45 67 89 ab cd ef # cookie
1800 00 00 00 00 00 00 0a # packet_count
1900 00 00 00 00 00 03 e8 # byte_count
2000 00 # actions[0].type
2100 08 # actions[0].len
2200 01 # actions[0].port
2300 00 # actions[0].max_len
2400 00 # actions[1].type
2500 08 # actions[1].len
2600 02 # actions[1].port
2700 00 # actions[1].max_len
28-- python
29ofp.flow_stats_entry(
30 table_id=3,
31 match=ofp.match(),
32 duration_sec=1,
33 duration_nsec=2,
34 priority=100,
35 idle_timeout=5,
36 hard_timeout=10,
37 cookie=0x0123456789abcdef,
38 packet_count=10,
39 byte_count=1000,
40 actions=[
41 ofp.action.output(port=1),
42 ofp.action.output(port=2)])