[OPNFLWJAVA-46] ODL controller does not initiate OFPT_HELLO over SSL connection Created: 19/Mar/15  Updated: 13/Jul/15  Resolved: 13/Jul/15

Status: Resolved
Project: openflowjava
Component/s: General
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: Narada Hess Assignee: Narada Hess
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 2875

 Description   

When connected over plain TCP to the ODL controller, the switch gets an OFPT_HELLO from the controller right away. When connected using SSL, the ODL controller does not initiate OFPT_HELLO. It waits for the switch to send OFPT_HELLO, then responds properly.

Section 6.3.1 of the OpenFlow spec states:
When an OpenFlow connection is first established, each side of the connection must immediately send an OFPT_HELLO message with the version field set to the highest OpenFlow protocol version supported by the sender.

So the ODL controller should initiate an OFPT_HELLO no matter what type of connection is established. (Note that the switch should do the same, of course.)



 Comments   
Comment by Matus Marko [ 10/Jul/15 ]

Fixed by initiate the HELLO message after handshake is made.
Changes made in the class: TcpChannelInitializer

Comment by Michal Polkorab [ 13/Jul/15 ]

Fix merged here: https://git.opendaylight.org/gerrit/#/c/23971/

Generated at Wed Feb 07 20:28:48 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.