Hi, Which version of Ryu are you using?
The similar issue was reported before and it should be fixed on the latest. https://www.mail-archive.com/ryu-devel@lists.sourceforge.net/msg10491.html Thanks, Iwase On 2018年03月05日 11:33, Zhang Yifan wrote:
Hi everybody, I am testing topology discovery with Ryu in Mininet. I have written an application that implements the topology discovery by defining methods that listen for events EventSwitchEnter, EventSwitchLeave, EventLinkAdd and EventLinkDelete. While the application works fine (in other words, it correctly discovers all the switches of the network and their connections) whit a low number of switches (<10), when I create network topologies with a higher number of switch I obtain the following error: hub: uncaught exception: Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/ryu/lib/hub.py", line 53, in _launch func(*args, **kwargs) File "/usr/local/lib/python2.7/dist-packages/ryu/controller/controller.py", line 103, in deactivate method(self) File "/usr/local/lib/python2.7/dist-packages/ryu/controller/controller.py", line 207, in _send_loop self.socket.sendall(buf) File "/usr/local/lib/python2.7/dist-packages/eventlet/greenio/base.py", line 376, in sendall tail = self.send(data, flags) File "/usr/local/lib/python2.7/dist-packages/eventlet/greenio/base.py", line 359, in send total_sent += fd.send(data[total_sent:], flags) error: [Errno 32] Broken pipe I don't understand if this error depends on my code, which I haven't posted in this message because of its length but I will do if it is allowed, or it depends on performance of the controller or the network emulator. Thanks in advance, YF ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ryu-devel
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ryu-devel