<div dir="ltr"><div><div><div><div><div><div><div>Hi all,<br></div>I have a topology with some loop and I wanna send TCP packet.<br></div>I've modify l3_learnong controller to check the authenticity of the source.<br></div>
When I start my controller I add also <br><br>openflow.spanning_tree --no-flood --hold-down openflow.discovery<br></div> <br>and ping works correctly!<br><br></div>But when I try to forward TCP packet it gave me this error (why??): <br>
<br>ERROR:core:Exception while handling OpenFlowNexus!PacketIn...<br>Traceback (most recent call last):<br> File "/home/sdn-lab/pox/pox/lib/revent/revent.py", line 231, in raiseEventNoErrors<br> return self.raiseEvent(event, *args, **kw)<br>
File "/home/sdn-lab/pox/pox/lib/revent/revent.py", line 278, in raiseEvent<br> rv = event._invoke(handler, *args, **kw)<br> File "/home/sdn-lab/pox/pox/lib/revent/revent.py", line 156, in _invoke<br>
return handler(self, *args, **kw)<br> File "/home/sdn-lab/pox/pox/forwarding/l3_learning_mod.py", line 223, in _handle_PacketIn<br> "input port" % (dpid, inport, str(dstaddr)))<br>TypeError: not all arguments converted during string formatting<br>
<br></div><div>It's a problem in the log message that appears when the packets should be forwarded on the port from which they come from.<br></div>I've no particular setting about the switches port. I've just added a check on tcp packet after this if condition.<br>
<br></div><div>Thank you<br></div><div><div><div><div><div><div><div><div><br>-- <br>Silvia Fichera
</div></div></div></div></div></div></div></div></div>