Dears
I am getting this error when I set the writeMatadata instruction.
This is my code and below is the error I am getting.
inst = [parser.OFPInstructionWriteMetadata(metadata,
0xffffffff), parser.OFPInstructionGotoTable(3), ]
mod =
parser.OFPFlowMod(datapath=self.current_datapath, priority=1, match=match,
instructions=inst,table_id=1)
self.current_datapath.send_msg(mod)
File "/home/ubuntu/Documents/simpleSwitchv2.py", line 113, in
update_status_list
self.current_datapath.send_msg(mod)
File "/home/ubuntu/ryu/ryu/controller/controller.py", line 234, in
send_msg
msg.serialize()
File "/home/ubuntu/ryu/ryu/ofproto/ofproto_parser.py", line 205, in
serialize
self._serialize_body()
File "/home/ubuntu/ryu/ryu/ofproto/ofproto_v1_3_parser.py", line 2496, in
_serialize_body
inst.serialize(self.buf, offset)
File "/home/ubuntu/ryu/ryu/ofproto/ofproto_v1_3_parser.py", line 2580, in
serialize
self.metadata_mask)
File "/home/ubuntu/ryu/ryu/lib/pack_utils.py", line 25, in msg_pack_into
buf += struct.pack(fmt, *args)
error: cannot convert argument to integer
Please advise how to fix this issue
Thanks in advance
Regards
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel