[OPNFLWPLUG-244] Flow id corrupted in operational data Created: 18/Aug/14 Updated: 27/Sep/21 Resolved: 16/Aug/16 |
|
| Status: | Resolved |
| Project: | OpenFlowPlugin |
| Component/s: | General |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Luis Gomez | Assignee: | Luis Gomez |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: Linux |
||
| External issue ID: | 1565 |
| Description |
|
After pushing following flow: { , , , } }, , I check Operational data for it: { , ], , , , } } } , And I see "flow-node-inventory:id": "#UF$TABLE*0-1" and I get OSGi errors related to this too. BR/Luis |
| Comments |
| Comment by Luis Gomez [ 18/Aug/14 ] |
|
Please use this URL to configure the flow: PUT http://<controller IP>:8080/restconf/config/opendaylight-inventory:nodes/node/openflow:1/table/0 BR/Luis |
| Comment by Vaclav Demcak [ 19/Aug/14 ] |
|
It looks like same problem with MacAddress comparison as we've talked in bug https://bugs.opendaylight.org/show_bug.cgi?id=1088. |
| Comment by Luis Gomez [ 19/Aug/14 ] |
|
Do you mean this is fix now? like I should not see any weird flow-id in operational? |
| Comment by Anil Vishnoi [ 04/Sep/14 ] |
|
Hi Luis, I believe this should be fixed with the latest controller code. This weird flow-is is something statistics manager creates to augment the flow that it got from switch but that flow doesn't exist in the config data store. To check whether specific flow existing in the config data store or not, it uses custom comparators. These custom comparators sometime can give you false positive results as well, like in the scenario you reported in this bug, if you notice the mac address in the config flow its in lower case string "ff:ff:29:01:19:61", but if you see the operational flow mac address, it is in upper case string "FF:FF:29:01:19:61". So till now we were using default equals method of MacAddress class, but that do case agnostic comparison and hence match fails. We recently fixed this and merged the patch. So in conclusion, we can still see the flows with weird flow-id for following two cases, 1) when switch reported flow really don't exist in the config data store and this is valid case 2) when custom comparator fails in matching the flows. Thanks |
| Comment by Abhijit Kumbhare [ 16/Sep/14 ] |
|
Any update on this? |
| Comment by Luis Gomez [ 16/Sep/14 ] |
|
I tested with latest controller yesterday and I still see the weird flow id in operational area after putting the flow in configuration. BR/Luis |
| Comment by Luis Gomez [ 09/Nov/15 ] |
|
Hi Anil, I think this never got fixed as I recently try flows with small case MAC or IPv6 and they generate alien ids. |
| Comment by Andrej Leitner [ 16/Aug/16 ] |
|
The issue with alien flow id was resolved recently in |