blob: 29ac4aab68596a917e33a39892a8b4450d3ebd54 [file] [log] [blame]
Rich Lanec9fc57d2013-05-16 16:39:12 -07001-- binary
204 13 # version, type
alshabib4d69d682015-08-21 13:54:45 -0700300 28 # length
Rich Lanec9fc57d2013-05-16 16:39:12 -0700412 34 56 78 # xid
500 0a # stats_type
600 00 # flags
700 00 00 00 # pad
alshabib4d69d682015-08-21 13:54:45 -0700800 18 # entires[0].len
900 00 # entries[0].flags
1000 00 00 01 # entries[0].meterId
1100 01 # entries[0].bands[0].type
1200 10 # entries[0].bands[0].length
1300 00 00 01 # entries[0].bands[0].rate
1400 00 00 02 # entries[0]bands[0].burst_size
Rich Lanec9fc57d2013-05-16 16:39:12 -07001500 00 00 00 # pad
Rich Lanec9fc57d2013-05-16 16:39:12 -070016-- python
17ofp.message.meter_config_stats_reply(
18 xid=0x12345678,
19 flags=0,
20 entries=[
alshabib4d69d682015-08-21 13:54:45 -070021 ofp.meter_config(flags = 0,
22 meter_id = 1,
23 entries = [
24 ofp.meter_band.drop(rate=1, burst_size=2)])
25 ])