[OPNFLWPLUG-660] Li Migration: Problems to detect the removal of flow entries Created: 24/Mar/16 Updated: 27/Sep/21 Resolved: 21/Jul/16 |
|
| Status: | Resolved |
| Project: | OpenFlowPlugin |
| Component/s: | General |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Hideyuki Tai | Assignee: | Unassigned |
| Resolution: | Done | 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: | 5602 | ||||||||
| Priority: | High | ||||||||
| Description |
|
Target Target source code: master branch of March of 2016 Problems With the OFP-Li, applications need to use operational DS (flow-node-inventory:table) to get information about flow entries installed in OpenFlow switches. In my understanding, when statistics manager of the OPF-Li is installed, the flow entry information on the operational DS is updated only by the statistics manager. As a result, with the current implementation of the OFP-Li, applications face the following two problems to detect the removal of flow entries. 1. It takes so long time (several seconds) to detect the removal. First, when the statics manager is installed, the OFP-Li does not update the operational DS on the event of FLOW_REMOVED. Second, when an application installs a flow entry whose timeout is a few seconds, it is possible that the statistics manager could not be aware of the installation and removal of the flow entry. |
| Comments |
| Comment by Hideyuki Tai [ 24/Mar/16 ] |
|
VTN project requests the OpenFlow Plugin project to provide a way which does not have the above two problems in Boron. We think one candidate solution for the problems is that the OFP-Li implements a YANG notification which notifies its applications of the removal of a flow entry on the event of receiving FLOW_REMOVED message from a switch. |
| Comment by Kamal Rameshan [ 11/Apr/16 ] |
|
From the code, the FlowRemoved message is processed by OFP and the same is removed from the operational. I dont see any notification raised to be consumed by the apps. |
| Comment by Shuva Jyoti Kar [ 10/May/16 ] |
|
Hi Kamal and folks, can we publish a flowremoved notification from the place where we receive the flowremoved message and intimate the listeners. Its taken that notifications will not be guaranteed, but just as experimenters and packet-in s can we shoot up an notification ? |
| Comment by Shuva Jyoti Kar [ 10/May/16 ] |
|
A patch for the same: |
| Comment by Hideyuki Tai [ 08/Jun/16 ] |
|
I've submitted an additional patch for this problem. Could a committer review and merge the patch? |
| Comment by Shuva Jyoti Kar [ 09/Jun/16 ] |
| Comment by Abhijit Kumbhare [ 21/Jul/16 ] |
|
This has been added/fixed. |