blob: a3892f6b598cfcf9ed2e5a34f736b66bb997c61e [file] [log] [blame]
Rich Laneb1f347d2013-05-16 16:39:12 -07001-- binary
201 0d # version/type
300 23 # length
412 34 56 78 # xid
5ab cd ef 01 # buffer_id
6ff fe # in_port
700 10 # actions_len
800 00 # actions[0].type
900 08 # actions[0].len
1000 01 # actions[0].port
1100 00 # actions[0].max_len
1200 00 # actions[1].type
1300 08 # actions[1].len
1400 02 # actions[1].port
1500 00 # actions[1].max_len
1661 62 63 # data
17-- python
18ofp.message.packet_out(
19 xid=0x12345678,
20 buffer_id=0xabcdef01,
21 in_port=ofp.OFPP_LOCAL,
22 actions=[
23 ofp.action.output(port=1),
24 ofp.action.output(port=2)],
25 data='abc')