blob: 121f121de6c018d9f1da221aab040fe06149c99f [file] [log] [blame]
Murat Parlakisikf95672c2016-12-05 00:53:17 -08001-- binary
206 13 # version, type
300 40 # length
412 34 56 78 # xid
500 07 # multipart message type (OFPMP_GROUP_DESC)
600 01 # flags (OFPMPF_REPLY_MORE)
700 00 00 00 # pad
8
900 30 # length
1000 # type
1100 # pad
1200 00 00 01 # group_id
1300 20 # bucket_array_len
1400 00 00 00 00 00 # pad
15
1600 20 # bucket_len
1700 18 # action_array_len
18ff ff ff fd # bucket_id
19
2000 00 # ofp_action[0].type (OFPAT_OUTPUT)
2100 10 # ofp_action[0].length
2200 00 00 01 # port
2300 03 # max_len
2400 00 00 00 00 00 # pad
25
2600 16 # ofp_action[0].type (OFPAT_GROUP)
2700 08 # ofp_action[0].length
2800 00 00 01 # group_id
29
30# no group_bucket_properties after this, since it's an ALL group
31
32-- java
33builder
34 .setXid(0x12345678)
35 .setFlags(ImmutableSet.<OFStatsReplyFlags>of(OFStatsReplyFlags.REPLY_MORE))
36 .setEntries(ImmutableList.<OFGroupDescStatsEntry>of(factory.buildGroupDescStatsEntry()
37 .setGroupType(OFGroupType.ALL)
38 .setGroup(OFGroup.of(1))
39 .setBuckets(ImmutableList.<OFBucket>of(factory.buildBucket()
40 .setBucketId(OFGroupBucket.BUCKET_FIRST)
41 .setActions(ImmutableList.<OFAction>of(
42 factory.actions().output(OFPort.of(1),3),
43 factory.actions().group(OFGroup.of(1))))
44 .build()))
45 .build()))
46