Dear Shinpei and all,
Thanks for your answer.
In fact I am using a 64-bit VM under a 64-bit physical machine but the
problem is still pending.
Please advise how to fix it ?
Best regards.
Hi,
> 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)
It was operating without problems. When trying the source in my environment.
Output log is below.
(s1)# ovs-ofctl -O openflow13 dump-flows s1
OFPST_FLOW reply(OF1.3) (xid=0x2)
cookie=0x0, duration=21.094s, table=0, n_packets=0, n_bytes=0, priority=0
actions=write_metadata:0/0xffffffff,goto_table:3
I think the problem is not a source.
I am using a 64-bit environment.
If you are using the 32-bit environment, please try to operate in 64-bit
environment.
Thanks,
On 2016年02月12日 07:10, David Gabriel wrote:
> 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
>
------------------------------------------------------------------------------
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