Hi,
- statistic are stored in operational data store - you can find periodically updated stuff under http://localhost:8181/restconf/operational/opendaylight-inventory:nodes - request for direct statistics RPC should go through http://localhost:8181/restconf/operations/opendaylight-direct-statistics:get-flow-statistics (group/meter/node-conncetor) -al- ________________________________ From: Borasy Kong <[email protected]> Sent: Friday, June 17, 2016 10:55 AM To: Andrej Leitner -X (anleitne - PANTHEON TECHNOLOGIES at Cisco) Cc: Anil Vishnoi; [email protected] Subject: Re: [openflowplugin-dev] Flow stats Hi Andrej Thanks for the reply. So when the ODL get the statistics where are they being stored on ODL? And how do I request for it through RPC? Using opendaylight-inventory rev.2013.08.19 in Yang UI seems to get the stats but is there another way? best On Fri, Jun 17, 2016 at 5:33 PM, Andrej Leitner -X (anleitne - PANTHEON TECHNOLOGIES at Cisco) <[email protected]<mailto:[email protected]>> wrote: Hi guys, afaik, there is not configurable parameter for statistics polling timer actually, but: - there is config parameter statistics-polling-off, default set to false. So by default statistic are periodically gathered (as mentioned, for now cca. every 3 sec.) [1] - there is also direct RPC service [2] [1] https://git.opendaylight.org/gerrit/gitweb?p=openflowplugin.git;a=blob;f=openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/statistics/StatisticsManagerImpl.java;h=ca217555cf0e4699935c1bbdcad9433b4e0c000d;hb=refs/heads/master [2] https://git.opendaylight.org/gerrit/gitweb?p=openflowplugin.git;a=tree;f=openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/statistics/services/direct;h=bb3f0ffe23a66ba1a4d7aced2770cb36e5e30921;hb=refs/heads/master ________________________________ From: [email protected]<mailto:[email protected]> <[email protected]<mailto:[email protected]>> on behalf of Anil Vishnoi <[email protected]<mailto:[email protected]>> Sent: Friday, June 17, 2016 9:44 AM To: Borasy Kong Cc: [email protected]<mailto:[email protected]> Subject: Re: [openflowplugin-dev] Flow stats Hi, It fetches every 3 second (configurable parameter). Thanks Anil On Fri, Jun 17, 2016 at 12:16 AM, Borasy Kong <[email protected]<mailto:[email protected]>> wrote: Hi, Does ODL gather flow stats periodically (says every 5 seconds) from all connected OpenFlow enabled switches or ODL will only request for those stats when an RPC request through Northbound is called? Thanks Borasy _______________________________________________ openflowplugin-dev mailing list [email protected]<mailto:[email protected]> https://lists.opendaylight.org/mailman/listinfo/openflowplugin-dev -- Thanks Anil
_______________________________________________ openflowplugin-dev mailing list [email protected] https://lists.opendaylight.org/mailman/listinfo/openflowplugin-dev
