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,

SR
------------------------------------------------------------------------------
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to