blob: 7fae6c3a002e84d0d22998b8cd901cdaa39634b8 [file] [log] [blame]
Murat Parlakisikf95672c2016-12-05 00:53:17 -08001-- binary
206 13 # version, type
300 58 # length
412 34 56 78 # xid
500 06 # multipart message type (OFPMP_GROUP_STATS)
600 01 # flags (OFPMPF_REPLY_MORE)
700 00 00 00 # pad
800 48 # length
900 00 # pad
1000 00 00 01 # group_id
1100 00 00 01 # ref_count
1200 00 00 00 # pad
1300 00 00 00 00 00 00 07 # packet_count
1400 00 00 00 00 00 00 12 # byte_count
1500 00 00 03 # duration_sec
16b2 d0 5e 00 # duration_nsec
1700 00 00 00 00 00 00 07 # bucket_counter[0].packet_count
1800 00 00 00 00 00 00 0c # bucket_counter[0].byte_count
1900 00 00 00 00 00 00 03 # bucket_counter[1].packet_count
2000 00 00 00 00 00 00 0a # bucket_counter[1].byte_count
21-- java
22builder
23 .setXid(0x12345678)
24 .setFlags(ImmutableSet.<OFStatsReplyFlags>of(OFStatsReplyFlags.REPLY_MORE))
25 .setEntries(ImmutableList.<OFGroupStatsEntry>of(factory.buildGroupStatsEntry().setGroup(OFGroup.of(1))
26 .setRefCount(1)
27 .setPacketCount(U64.of(7))
28 .setByteCount(U64.of(18))
29 .setDurationSec(3)
30 .setDurationNsec(3000000000L)
31 .setBucketStats(ImmutableList.<OFBucketCounter>of(
32 factory.buildBucketCounter().setPacketCount(U64.of(7))
33 .setByteCount(U64.of(12))
34 .build(),
35 factory.buildBucketCounter().setPacketCount(U64.of(3))
36 .setByteCount(U64.of(10))
37 .build()))
38 .build()))
39
40 .build()