[OPNFLWPLUG-844] Openflow connetion is released when slave role request with OFPRRFC_UNSUP error returned Created: 24/Jan/17  Updated: 27/Sep/21  Resolved: 16/Jun/17

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

Type: Bug
Reporter: GU Min Assignee: Miroslav Macko
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Attachments: Text File karaf.log    
External issue ID: 7664
Priority: High

 Description   

When a switch is trying to establish openflow connetcion to a single ODL controller , controller sends slave role request before sending a master role request.

According to the "OpenFlow1.3.4TestSpecification-Basic.pdf"(https://www.opennetworking.org/images/stories/downloads/working-groups/OpenFlow1.3.4TestSpecification-Basic.pdf),clause "440.450 - Role request failed unsupported" defines that an error reply should be returned by the switch with the error code OFPRRFC_UNSUP in this case.

When controller recevices the error with OFPRRFC_UNSUP, it sends slave role request again, and it receives the same error again . The controller retries 42 times and close the connetion.

Thus if the switch obey the rule defined by the test sepecification, it can not connect to an ODL controller.



 Comments   
Comment by GU Min [ 24/Jan/17 ]

Attachment karaf.log has been added with description: karaf log

Comment by Miroslav Macko [ 12/Jun/17 ]

https://git.opendaylight.org/gerrit/#/c/58518/

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