[OPNFLWPLUG-256] Configurable polling time for flow/port stats Created: 28/Aug/14  Updated: 27/Sep/21  Resolved: 17/Aug/16

Status: Resolved
Project: OpenFlowPlugin
Component/s: General
Affects Version/s: None
Fix Version/s: None

Type: Improvement
Reporter: Christopher O'Shea Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Mac OS
Platform: PC



 Description   

In the legacy OpenFlow we supported configurable time for flow/port statistics, but using the config.ini file

see example

  1. The flow statistics polling interval in second (default 10 sec)
  2. of.flowStatsPollInterval=10
  3. The port statistics polling interval in second (default 5 sec)
  4. of.portStatsPollInterval=5

This would help with testing to limit the time take to get information from a device.

Different application mate wish to increase the polling time to not overload the device or decease to get more real time stats.



 Comments   
Comment by Vaclav Demcak [ 02/Oct/14 ]

I hope the new Statistics Manager implementation could bring stats ASAP.
Is this bug still actual ?

https://git.opendaylight.org/gerrit/#/c/10605/

Comment by Jan Hajnar [ 28/Oct/14 ]

Hi,

In the current implementation of statistics manager, independent polling intervals for parts of node statistics are not possible.

Comment by Christopher O'Shea [ 08/Nov/14 ]

I Do believe this is still valid enhancement, Yes it now fixed the issue from the a testing point of view.

As different SDN use case may have the controller needing near real time stats or other can have that 60-300 second delay. So allow the user to set a value would be useful.

If we wish to track that in CONTROLLER-745 then i can close.
https://bugs.opendaylight.org/show_bug.cgi?id=1646

Comment by Jan Hajnar [ 24/Nov/14 ]

Hi,

this patch adds possibility to set global statistics collection interval via config subsystem and should be available in Helium-2 release:
https://git.opendaylight.org/gerrit/#/c/13009/

To set collection intervals for each statistics type separately, more changes to statistics manager are needed and it is targeted for Lithium. You should leave this bug open, so we can track when the patch that enables individual statistics collection intervals is available.

Comment by Tony Tkacik [ 19/Mar/15 ]

FUnctionality moved to openflowplugin

Comment by Andrej Leitner [ 17/Aug/16 ]

Main config option for statistics manager was merged and there was no need for separate config paramters till now (in older OFP he-design). In addition in current default design of OFP (li-design) direct on-request statistics RPCs were added in OPNFLWPLUG-672 also with the option of updating data in DS. Therefore closing bug.

Generated at Wed Feb 07 20:31:59 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.