blob: 1ee5f737ed42986156f1cbee33af7146b394c4f8 [file] [log] [blame]
Murat Parlakisikf95672c2016-12-05 00:53:17 -08001-- binary
206 12 # version, type
300 60 # length
412 34 56 78 # xid
500 13 # multipart message type (OFPMP_BUNDLE_FEATURES)
600 01 # flags
700 00 00 00 # pad
800 00 00 01 # feature_request_flags (OFPBF_TIMESTAMP)
900 00 00 00 # pad
1000 01 # properties[0].type (OFPTMPBF_TIME_CAPABILITY)
1100 48 # properties[0].length
1200 00 00 00 # properties[0].pad
1300 00 00 00 00 00 00 03 # properties[0].sched_accuracy.seconds
14b2 d0 5e 00 # properties[0].sched_accuracy.nanoseconds
1500 00 00 00 # properties[0].sched_accuracy.pad
1600 00 00 00 00 00 00 03 # properties[0].sched_max_future.seconds
17b2 d0 5e 00 # properties[0].sched_max_future.nanoseconds
1800 00 00 00 # properties[0].sched_max_future.pad
1900 00 00 00 00 00 00 03 # properties[0].sched_max_past.seconds
20b2 d0 5e 00 # properties[0].sched_max_past.nanoseconds
2100 00 00 00 # properties[0].sched_max_past.pad
2200 00 00 00 00 00 00 03 # properties[0].timestamp.seconds
23b2 d0 5e 00 # properties[0].timestamp;.nanoseconds
2400 00 00 00 # properties[0].timestamp;.pad
25-- java
26builder
27 .setXid(0x12345678)
28 .setFlags(ImmutableSet.<OFStatsRequestFlags>of(OFStatsRequestFlags.REQ_MORE))
29 .setFeatureRequestFlags(ImmutableSet.<OFBundleFeatureFlags>of(OFBundleFeatureFlags.TIMESTAMP))
30 .setProperties(ImmutableList.<OFBundleFeaturesProp>of(factory.buildBundleFeaturesPropTime().setSchedAccuracy(factory.buildTime().setSeconds(U64.of(3)).setNanoseconds(3000000000L).build())
31 .setSchedMaxFuture(factory.buildTime().setSeconds(U64.of(3)).setNanoseconds(3000000000L).build())
32 .setSchedMaxPast(factory.buildTime().setSeconds(U64.of(3)).setNanoseconds(3000000000L).build())
33 .setTimestamp(factory.buildTime().setSeconds(U64.of(3)).setNanoseconds(3000000000L).build())
34 .build()))
35 .build()
36
37