Murat Parlakisik | f95672c | 2016-12-05 00:53:17 -0800 | [diff] [blame] | 1 | --binary |
| 2 | 06 13 # version, type |
| 3 | 00 28 # length |
| 4 | 12 34 56 78 # xid |
| 5 | 00 0F # multipart message type (OFPMP_QUEUE_DESC) |
| 6 | 00 01 # flags (OFPMPF_REPLY_MORE) |
| 7 | 00 00 00 00 # pad |
| 8 | 00 00 00 01 # port_no |
| 9 | 00 00 00 01 # queue_id |
| 10 | 00 18 # length |
| 11 | 00 00 00 00 00 00 # pad |
| 12 | 00 01 # properties[0].type (OFPQDPT_MIN_RATE) |
| 13 | 00 08 # properties[0].length |
| 14 | 00 01 # rate |
| 15 | 00 00 # pad |
| 16 | |
| 17 | -- java |
| 18 | builder |
| 19 | .setXid(0x12345678) |
| 20 | .setFlags(ImmutableSet.<OFStatsReplyFlags>of(OFStatsReplyFlags.REPLY_MORE)) |
| 21 | .setEntries(ImmutableList.<OFQueueDesc>of(factory.buildQueueDesc().setPortNo(1) |
| 22 | .setQueueId(1) |
| 23 | .setProperties(ImmutableList.<OFQueueDescProp>of(factory.buildQueueDescPropMinRate() |
| 24 | .setRate(1) |
| 25 | .build())).build())) |
| 26 | .build(); |