blob: bcd516ef380577f1b61ba56afc87510158edcbcb [file] [log] [blame]
Murat Parlakisikf95672c2016-12-05 00:53:17 -08001-- binary
206 1e # version, type
300 28 # length
412 34 56 78 # xid
500 00 00 03 # role (OFPCR_ROLE_SLAVE)
600 # reason (OFPCRR_MASTER_REQUEST)
700 00 00 # pad
800 00 00 00 00 00 00 01 # generation_id
9ff ff # properties[0].type (OFPRPT_EXPERIMENTER)
1000 10 # properties[0].length
1100 5c 16 c7 # properties[0].experimenter
1200 00 00 37 # properties[0].exp_type
1300 00 00 00 # properties[0]exp_data
14-- java
15builder
16 .setXid(0x12345678)
17 .setRole(OFControllerRole.ROLE_SLAVE)
18 .setReason(OFControllerRoleReason.MASTER_REQUEST)
19 .setGenerationId(U64.of(1))
20 .setProperties(ImmutableList.<OFRoleProp>of(factory.buildRolePropBsn().setExperimenterData(new byte[] {0x0, 0x0, 0x0, 0x0}).build()))
21 .build()