On Tue, 18 Dec 2012 17:29:40 +0900
Isaku Yamahata <[email protected]> wrote:

> When switch sends version higher than Ryu supports, Ryu fails to negotiate.
> In this case
>   4 = OF1.3 from switch
>   3 = OF1.2 from Ryu
>   datapath.supported_ofp_version = (3 = OF1.2,)
> In such cases, we should use OF1.2 instead of error.
>> Connection to controller closed because of {"localhost",6633,0, 
>> {unsupported_version,4}}
> 
> Reported-by: Shivaram Mysore <[email protected]>
> Signed-off-by: Isaku Yamahata <[email protected]>
> ---
> Changes v1 -> v2:
> - return error when min(switch version, ryu version) isn't usable
> - typo min instead of max
> - minor code clean up
> ---
>  ryu/controller/ofp_handler.py |   66 
> +++++++++++++++++++++++++++++++++--------
>  1 file changed, 53 insertions(+), 13 deletions(-)

Applied, thanks.

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to