[OPNFLWPLUG-337] Openflow Stats not getting updated Created: 15/Jan/15 Updated: 27/Sep/21 Resolved: 19/Aug/16 |
|
| Status: | Resolved |
| Project: | OpenFlowPlugin |
| Component/s: | General |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Kuldip | Assignee: | Unassigned |
| 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: | 2598 |
| Description |
|
This a missing functionality to the bug I am polling the two switches for the aggregate flow statistics every 30 seconds using REST on the controller. However the statistics never get updated and always remain at 0. On reviewing the file and further investigation with Vaclav's help, code does not check for existing queue in statistics and no queues are created from statQueue response. ----------Comment from Vaclav <v_demcak1> Ok ... I've compared your log with implementation ... and I've found the problem ... it's finally bug and needs to be fixed - we are missing a check for existing queue in statistics but this is a way for create so we have to create new Queue from statQueue response |
| Comments |
| Comment by Kuldip [ 15/Jan/15 ] |
|
Attachment karaf.log has been added with description: karaf log file |
| Comment by Jozef Gloncak [ 16/Jan/15 ] |
|
After investigation I found out that functionality which is responsible for adding queue statistics to configuration datastore is implemented. If you run just opendaylight project models neccessary for writtin queue statistics aren't present. You can either run openflowplugin or it is necessary install features -odl-openflowplugin-flow-services |
| Comment by Kuldip [ 16/Jan/15 ] |
|
I have both odl-openflowplugin-flow-services and odl-openflowplugin-flow-services-rest installed. I still get the error. |
| Comment by Carol Sanders [ 04/May/15 ] |
|
This bug is part of the project to Move all ADSAL associated component bugs to ADSAL |
| Comment by Abhijit Kumbhare [ 10/Nov/15 ] |
|
Is this still happening Kuldip? |
| Comment by Andrej Leitner [ 19/Aug/16 ] |
|
I tested this with the actual OFP codebase. After adding queue I can see that queue-statistics are being continuously updated. |