Murat Parlakisik | f95672c | 2016-12-05 00:53:17 -0800 | [diff] [blame] | 1 | -- binary |
2 | 06 12 # version, type | ||||
3 | 00 18 # length | ||||
4 | 12 34 56 78 # xid | ||||
5 | 00 0a # multipart message type (OFPMP_METER_DESC) | ||||
6 | 00 01 # flags | ||||
7 | 00 00 00 00 # pad | ||||
8 | 00 00 00 01 # meterId | ||||
9 | 00 00 00 00 # pad | ||||
10 | -- java | ||||
11 | builder | ||||
12 | .setXid(0x12345678) | ||||
13 | .setFlags(ImmutableSet.<OFStatsRequestFlags>of(OFStatsRequestFlags.REQ_MORE)) | ||||
14 | .setMeterId(1L) | ||||
15 | .build() |