hi guys,
        actions=[]
actions.append( OFPActionSetField(eth_dst="00:00:00:00:00:05"))
actions.append(OFPActionSetField(ip_dst="10.0.0.2"))
actions.append(datapath.ofproto_parser.OFPActionOutput(out_port))

hub: uncaught exception: Traceback (most recent call last):
  File "/home/ubuntu/ryu/ryu/lib/hub.py", line 48, in _launch
    func(*args, **kwargs)
  File "/home/ubuntu/ryu/ryu/base/app_manager.py", line 198, in _event_loop
    handler(ev)
  File "/home/ubuntu/ryu/ryu/app/prjct.py", line 85, in _packet_in_handler
    datapath.send_msg(out)
  File "/home/ubuntu/ryu/ryu/controller/controller.py", line 203, in
send_msg
    msg.serialize()
  File "/home/ubuntu/ryu/ryu/ofproto/ofproto_parser.py", line 203, in
serialize
    self._serialize_body()
  File "/home/ubuntu/ryu/ryu/ofproto/ofproto_v1_0_parser.py", line 2092, in
_serialize_body
    a.serialize(self.buf, offset)
  File "/home/ubuntu/ryu/ryu/ofproto/ofproto_v1_0_parser.py", line 381, in
serialize
    buf, offset, self.type, self.len, self.nw_addr)
  File "/home/ubuntu/ryu/ryu/ofproto/ofproto_parser.py", line 212, in
msg_pack_into
    buf += struct.pack(fmt, *args)
error: cannot convert argument to integer


I am getting this error.Could u please help me. BtW i am testiung this in
mininet.

                               Thank you in Advance,

With Regards,
Sarath Allaka
IIT Hyderabad
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to