blob: 940e4f57dba57c0195d7ed68692cf1ea15798c7a [file] [log] [blame]
Rich Lanec9fc57d2013-05-16 16:39:12 -07001-- binary
204 13 # version, type
300 30 # length
412 34 56 78 # xid
500 0a # stats_type
600 00 # flags
700 00 00 00 # pad
800 01 # entries[0].type
900 10 # entries[0].length
1000 00 00 01 # entries[0].rate
1100 00 00 02 # entries[0].burst_size
1200 00 00 00 # pad
1300 02 # entries[1].type
1400 10 # entries[1].length
1500 00 00 03 # entries[1].rate
1600 00 00 04 # entries[1].burst_size
1705 # entries[1].prec_level
1800 00 00 # pad
19-- python
20ofp.message.meter_config_stats_reply(
21 xid=0x12345678,
22 flags=0,
23 entries=[
24 ofp.meter_band.drop(rate=1, burst_size=2),
25 ofp.meter_band.dscp_remark(rate=3, burst_size=4, prec_level=5)])