Ask is moving to Stack Overflow and! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode


Statistics update interval

asked 2014-11-08 04:56:24 -0800

Lorunification gravatar image

Hello everyone,

When creating flows via a function called within the osgi console it takes up to 10 seconds until i can for example list them or the correct packet count is displayed. I assume this is due to the update interval of some statistics module or something. Is there a way to change this interval? Is it hardcoded? If so - Where?

Thanks in advance!

edit retag flag offensive close merge delete


Which version are you running Helium, Hydrogen? or building only controller from master, Cause you said stuff about the OSGi console.

Chris O'Shea ( 2014-11-08 09:17:00 -0800 )edit

Sorry for lacking this info. I created a new application following this tutorial Sorry, but how can i determine which release i am actually using?

Lorunification ( 2014-11-08 11:43:36 -0800 )edit

I haven't used this tutorial yet. I'm not sure if going to help but is there a opendaylight/configuration/config.ini file? in there should have # The flow statistics polling interval in second (default 10 sec) # of.flowStatsPollInterval=10 (This isn't the way we do things in Helium thats why)

Chris O'Shea ( 2014-11-08 13:56:58 -0800 )edit

Thank you very much! This did the trick. Would you add it as an answer? I can't upvote the comment. Thanks again!

Lorunification ( 2014-11-08 15:34:57 -0800 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2014-11-08 15:51:21 -0800


This will only useful for Hydrogen and the SDNhub tutorial. There is a file opendaylight/configuration/config.ini

that has the values, uncomment and change the Poll Interval to 10.

 # The flow statistics polling interval in second (default 10 sec) 
 # of.flowStatsPollInterval=10

Helium there been changes to the stats manager and i believe there is a enhancement bug open to track them

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2014-11-08 04:56:24 -0800

Seen: 365 times

Last updated: Nov 08 '14