blob: 94be823fa5216830e70ed99e46cd3b6a868fdd2e [file] [log] [blame]
Rich Lanec9fc57d2013-05-16 16:39:12 -07001-- binary
204 00 # version, type
300 20 # length
412 34 56 78 # xid
500 01 # elements[0].type
600 0c # elements[0].length
700 00 00 01 # elements[0].bitmaps[0]
800 00 00 02 # elements[0].bitmaps[1]
900 01 # elements[1].type
1000 0c # elements[1].length
1100 00 00 03 # elements[1].bitmaps[0]
1200 00 00 04 # elements[1].bitmaps[1]
13-- python
14ofp.message.hello(
15 xid=0x12345678,
16 elements=[
17 ofp.hello_elem_versionbitmap(
18 bitmaps=[ofp.uint32(1), ofp.uint32(2)]),
19 ofp.hello_elem_versionbitmap(
20 bitmaps=[ofp.uint32(3), ofp.uint32(4)])])