blob: 66258f94c686dfb5f9dd36cadbed0d6903febab7 [file] [log] [blame]
Murat Parlakisikf95672c2016-12-05 00:53:17 -08001-- binary
206 12 # version, type
300 30 # length
412 34 56 78 # xid
500 10 # multipart message type (OFPMP_FLOW_MONITOR)
600 01 # flags
700 00 00 00 # pad
800 00 00 01 # monitor_id
900 00 00 01 # out_port
1000 00 00 01 # out_group
1100 01 # flags (INITIAL)
1201 # table_id
1300 # command (ADD)
1400 01 # match.type
1500 10 # match.length
1680 00 01 08 # match.oxm_list[0].type_len - IN_PORT
1700 00 00 04 # match.oxm_list[0].value
1800 00 00 05 # match.oxm_list[0].mask
19-- java
20builder
21 .setXid(0x12345678)
22 .setFlags(ImmutableSet.<OFStatsRequestFlags>of(OFStatsRequestFlags.REQ_MORE))
23 .setEntries(ImmutableList.<OFFlowMonitorEntry>of(factory.buildFlowMonitorEntry().setMonitorId(1)
24 .setOutPort(1)
25 .setOutGroup(1)
26 .setFlags(ImmutableSet.<OFFlowMonitorFlags>of(OFFlowMonitorFlags.INITIAL))
27 .setTableId(TableId.of(1))
28 .setCommand(OFFlowMonitorCommand.ADD)
29 .setMatch(factory.buildMatch()
30 .setMasked(MatchField.IN_PORT, OFPort.of(4), OFPort.of(5))
31 .build())
32 .build()))
33 .build()