blob: 04624a9e47c958dc3c2738ea1015d4481f3b9e9d [file] [log] [blame]
Murat Parlakisikf95672c2016-12-05 00:53:17 -08001-- binary
206 21 # version, type
300 28 # length
412 34 56 78 # xid
500 00 00 01 # bundle_id
600 00 # type (OFPBCT_OPEN_REQUEST)
700 01 # flags (OFPBF_ATOMIC)
800 01 # properties[0].type (OFPBPT_TIME)
900 18 # properties[0].length
1000 00 00 00 # properties[0].pad
1100 00 00 00 00 00 00 01 # properties[0].ofp_time.seconds
123b 9a ca 00 # properties[0].ofp_time.nanoseconds
1300 00 00 00 # properties[0].ofp_time.pad
14-- java
15builder
16 .setXid(0x12345678)
17 .setBundleId(BundleId.of(1))
18 .setBundleCtrlType(OFBundleCtrlType.OPEN_REQUEST)
19 .setFlags(ImmutableSet.<OFBundleFlags>of(OFBundleFlags.ATOMIC))
20 .setProperties(ImmutableList.<OFBundleProp>of(factory.buildBundlePropTime().setScheduledTime(ImmutableList.<OFTime>of(factory.buildTime().setSeconds(U64.of(1)).setNanoseconds(1000000000L).build())).build()))
21 .build()