blob: 52ced26485f3b86ca59fea86abe0000e6a8ebcec [file] [log] [blame]
Murat Parlakisikf95672c2016-12-05 00:53:17 -08001--binary
206 13 # version, type
300 50 # length
412 34 56 78 # xid
500 05 # multipart message type (OFPMP_QUEUE_STATS)
600 01 # flags (OFPMPF_REPLY_MORE)
700 00 00 00 # pad
800 40 # length
900 00 00 00 00 00 # pad
1000 00 00 01 # port_no
1100 00 00 01 # queue_id
1200 00 00 00 00 00 00 0a # tx_bytes
1300 00 00 00 00 00 00 07 # tx_packets
1400 00 00 00 00 00 00 01 # tx_errors
1500 00 00 03 # duration_sec
16b2 d0 5e 00 # duration_nsec
17ff ff # properties[0].type (OFPQSPT_EXPERIMENTER)
1800 10 # properties[0].length
1900 5c 16 c7 # properties[0].experimenter
2000 00 00 00 # properties[0].exp_type
2100 00 00 02 # properties[0].experimenter_data
22
23-- java
24builder
25 .setXid(0x12345678)
26 .setFlags(ImmutableSet.<OFStatsReplyFlags>of(OFStatsReplyFlags.REPLY_MORE))
27 .setEntries(ImmutableList.<OFQueueStatsEntry>of(factory.buildQueueStatsEntry().setPortNo(OFPort.of(1))
28 .setQueueId(1)
29 .setTxBytes(U64.of(10))
30 .setTxPackets(U64.of(7))
31 .setTxErrors(U64.of(1))
32 .setDurationSec(3)
33 .setDurationNsec(3000000000L)
34 .setProperties(ImmutableList.<OFQueueStatsProp>of(factory.buildQueueStatsPropBsn()
35 .setExperimenterData(new byte[] {0x0, 0x0, 0x0, 0x2})
36 .build())).build()))
37
38 .build()