[OPNFLWPLUG-319] learning switch fails to install learnt flows Created: 19/Nov/14 Updated: 27/Sep/21 Resolved: 03/Dec/14 |
|
| Status: | Resolved |
| Project: | OpenFlowPlugin |
| Component/s: | General |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Bo Yan | Assignee: | Martin Bobak |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Attachments: |
|
| External issue ID: | 2407 |
| Description |
|
When using the learning switch bundle to install flows reactively, an error is generated which prevents the learnt flows to be installed on the switch. This causes every packet to traverse the controller. To replicate this scenario: The cause may be a data precondition failure as listed in the following part of the log. 2014-11-18 11:50:24.468 EST [md-sal-binding-notification-3] DEBUG o.o.o.l.LearningSwitchHandler - Received packet via match: Match [_inPort=Uri[_value=openflow:1:2], augmentation=[]] .. ]. ] does not exist. Cannot apply modification to its children. |
| Comments |
| Comment by Bo Yan [ 19/Nov/14 ] |
|
Attachment debug.log has been added with description: log from the ODL controller |
| Comment by Martin Bobak [ 24/Nov/14 ] |
| Comment by Bhanu Prakash [ 01/Dec/14 ] |
|
Attachment trace.log has been added with description: log from controller |
| Comment by Bhanu Prakash [ 01/Dec/14 ] |
|
I still not able to see the flows learned by switch. I am attaching the log file I have collected. I see only the flow, which is to forwardall to controller, am expecting the mac2mac flow to be installed in the switch upon a ping between any of the hosts from mininet. Pls let me know if am doing anything wrong. I have taken the latest code from openflowplugin branch and tested this.
— 10.0.0.2 ping statistics — |
| Comment by Michal Rehak [ 01/Dec/14 ] |
| Comment by Bhanu Prakash [ 01/Dec/14 ] |
|
(In reply to michal rehak from comment #4) deeply appreciate and Thank you for prompt reply. below is the code snippet... 93 |
| Comment by Martin Bobak [ 02/Dec/14 ] |
|
https://git.opendaylight.org/gerrit/13299 Enforce parents added in mentioned commit seems to fix this issue. |
| Comment by Bhanu Prakash [ 03/Dec/14 ] |
|
(In reply to Martin Bobak from comment #6) This is working now, Thanks for all the support. |