[OPNFLWPLUG-402] Openflowplugin manager doesn't use match extensions while comparing two flows Created: 16/Apr/15 Updated: 27/Sep/21 Resolved: 15/Jun/15 |
|
| Status: | Resolved |
| Project: | OpenFlowPlugin |
| Component/s: | General |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Flavio Fernandes | Assignee: | Anil Vishnoi |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Issue Links: |
|
||||||||
| External issue ID: | 3005 | ||||||||
| Description |
|
Openflowplugin manager doesn't use match extensions while comparing two flows Because of that, the hashing statistics manager relies upon to make unique keys That causes bugs when we have rules like this: cookie=0x0, duration=255.353s, table=110, n_packets=8, n_bytes=648, priority=16384,reg0=0x1,tun_id=0x1,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:1,output:2 So statistics manager assign the same id internally to both the flows and that's causing the repeated error message about duplicate id. Adding match extension in flow comparison is not trivial and we cannot implement it in this release. Anil added a simple solution, where flow comparison now use Following openflowplugin patch has more details: This patch adds cookie value to the flows net-virt installs. Cookies value is associated with individual flow for it's life time. |
| Comments |
| Comment by Abhijit Kumbhare [ 08/Jun/15 ] |
|
Anil, Can you confirm if this is fixed? Thanks, |
| Comment by Abhijit Kumbhare [ 15/Jun/15 ] |
|
OVSDB are using a workaround (to use cookies). Adding more logic for flow comparisons (using match extensions) may impact performance. Need to think through the solution & document the workaround in the release notes. |