blob: 9b6296316c44cc4c48587f4ee48bc1375dc3ffef [file] [log] [blame]
Murat Parlakisikf95672c2016-12-05 00:53:17 -08001-- binary
206 12 # version, type
300 40 # length
412 34 56 78 # xid
500 02 # multipart message type (OFPMP_AGGREGATE_STATS)
600 01 # flags
700 00 00 00 # pad
8ff # tableId
900 00 00 # pad
1000 00 00 04 # out_port
1100 00 00 01 # out_group
1200 00 00 00 # pad
13fe dc ba 98 76 54 32 10 # cookie
14ff 00 ff 00 ff 00 ff 00 # cookie_maskk
1500 01 # match.type
1600 10 # match.length
1780 00 01 08 # match.oxm_list[0].type_len - IN_PORT
1800 00 00 04 # match.oxm_list[0].value
1900 00 00 05 # match.oxm_list[0].mask
20-- java
21builder
22 .setXid(0x12345678)
23 .setFlags(ImmutableSet.<OFStatsRequestFlags>of(OFStatsRequestFlags.REQ_MORE))
24 .setTableId(TableId.ALL)
25 .setOutPort(OFPort.of(4))
26 .setOutGroup(OFGroup.of(1))
27 .setCookie(U64.parseHex("FEDCBA9876543210"))
28 .setCookieMask(U64.parseHex("FF00FF00FF00FF00"))
29 .setMatch(
30 factory.buildMatch()
31 .setMasked(MatchField.IN_PORT, OFPort.of(4), OFPort.of(5))
32 .build())
33 .build()