blob: 5e3453d688576cca28b3ecdb426950a4292a4be2 [file] [log] [blame]
-- binary
01 15 # version / type
00 50 # length
12 34 56 78 # xid
ff fe # port
00 00 00 00 00 00 # pad
00 00 00 01 # queues[0].queue_id
00 18 # queues[0].len
00 00 # queues[0].pad
00 01 # queues[0].properties[0].type
00 10 # queues[0].properties[0].length
00 00 00 00 # queues[0].properties[0].pad
00 05 # queues[0].properties[0].rate
00 00 00 00 00 00 # queues[0].properties[0].pad2
00 00 00 02 # queues[1].queue_id
00 28 # queues[1].len
00 00 # queues[1].pad
00 01 # queues[1].properties[0].type
00 10 # queues[1].properties[0].length
00 00 00 00 # queues[1].properties[0].pad
00 06 # queues[1].properties[0].rate
00 00 00 00 00 00 # queues[1].properties[0].pad2
00 01 # queues[1].properties[1].type
00 10 # queues[1].properties[1].length
00 00 00 00 # queues[1].properties[1].pad
00 07 # queues[1].properties[1].rate
00 00 00 00 00 00 # queues[1].properties[1].pad2
-- python
ofp.message.queue_get_config_reply(
xid=0x12345678,
port=ofp.OFPP_LOCAL,
queues=[
ofp.packet_queue(queue_id=1, properties=[
ofp.queue_prop_min_rate(rate=5)]),
ofp.packet_queue(queue_id=2, properties=[
ofp.queue_prop_min_rate(rate=6),
ofp.queue_prop_min_rate(rate=7)])])