Hi Zang MingJie,
I think we can add code to
https://github.com/osrg/ryu/blob/master/ryu/controller/controller.py#L145-L148
or
https://github.com/osrg/ryu/blob/master/ryu/controller/controller.py#L189-L198
to handling disconnection between controller and openflow switch.
Yi
2015-02-13 16:09 GMT+08:00 Zang MingJie <zealot0...@gmail.com>:
> Hi all:
>
> I found another problem in ryu.
>
> If openflow connection disconnects while there is any ongoing request,
> the request will hang forever, because the xid will never be replied.
>
> Can we add a connection dc event, notify all ongoing requests then
> return an error for every request.
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming. The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Ryu-devel mailing list
> Ryu-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel