diff options
author | Isaku Yamahata <yamahata@valinux.co.jp> | 2012-12-18 17:29:40 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2012-12-19 19:46:38 +0900 |
commit | 7e56bfb527863d2a2b763fa5e8451a4c744c9dd3 (patch) | |
tree | f83ed33f16a1555bc004248f0e2f72785077f1b0 /bin/ryu-client | |
parent | 65e7cf4b77bb2194ee5fb3fa28ec1c748fba1041 (diff) |
ofp_handler: Improve hello version negotiation
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 <shivaram.mysore@gmail.com>
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'bin/ryu-client')
0 files changed, 0 insertions, 0 deletions