Hi, all,
I want to send packet-out message with buffer_id to let the packet to be
reprocess to rego through the pipeline:
actions = []
actions.append(datapath.ofproto_parser.OFPActionOutput(
datapath.ofproto.OFPP_TABLE)
)
out = datapath.ofproto_parser.OFPPacketOut(
datapath = datapath,
buffer_id = msg.buffer_id,
#buffer_id = datapath.ofproto.OFP_NO_BUFFER,
in_port = datapath.ofproto.OFPP_CONTROLLER,
actions = actions,
data = pkt.data
)
datapath.send_msg(out)
The error shows:
File
"/usr/local/python2.7.6/lib/python2.7/site-packages/ryu/ofproto/ofproto_v1_3_parser.py",
line 2384, in _serialize_body
assert self.buffer_id == 0xffffffff
It looks like the buffer_id must be NO_BUFFER, but the packet with specify
buffer_id is allowed in openflow spec.
So how to solve this problem ? Thankyou
--
Best Regards,
Vinllen
------------------------------------------------------------------------------
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel