What about the solution described in here:
https://ask.opendaylight.org/question/3354/rest-api-response-time/?comment=11534#comment-11534

"
Once you have installed the controller and deployed the features that
enable the openflow services you will find a config file in the
distribution subfolder "etc/opendaylight/karaf/30-statistics-manager.xml"
In that file you change the default from 3000ms (3s) to something smaller
or larger as needed. I believe a restart of the controller is needed after
changing that file, and that file will not be created until the feature(s)
that use it are enabled.
"

do you think it would work?



2016-05-05 15:49 GMT+01:00 Rui Q <[email protected]>:

> If I was using another model(?)/version(?) do you think it would be
> possible?
>
> Thanks
>
>
>
>
> 2016-05-05 11:54 GMT+01:00 Shuva Jyoti Kar <[email protected]>:
>
>> You are using the lithium mode of the ofplugin. I donot see any place of
>> tuning statistics as of today, we can definitely make it configurable, but
>> as of today that’s not the case.
>>
>>
>>
>> Thanks
>>
>> Shuva
>>
>>
>>
>> *From:* Rui Q [mailto:[email protected]]
>> *Sent:* Thursday, May 05, 2016 4:21 PM
>> *To:* Shuva Jyoti Kar
>> *Cc:* [email protected];
>> [email protected]
>> *Subject:* Re: [openflowplugin-dev] Fwd: openflow plugin - statistics
>> collecting time
>>
>>
>>
>> Thanks for replying Shuva.
>>
>> I'm not sure if I can answer you.
>>
>> Maybe this print can help:
>>
>> opendaylight-user@root>feature:list -i | grep openflow
>>
>> odl-openflowjava-protocol                | 0.7.0-Beryllium  | x         |
>> odl-openflowjava-0.7.0-Beryllium     | OpenDaylight :: Openflow Java ::
>> Protocol
>> odl-openflowplugin-all-li                | 0.2.0-Beryllium  | x         |
>> openflowplugin-li-0.2.0-Beryllium    | OpenDaylight :: Openflow Plugin ::
>> All
>> odl-openflowplugin-southbound-li         | 0.2.0-Beryllium  | x         |
>> openflowplugin-li-0.2.0-Beryllium    | OpenDaylight :: Openflow Plugin ::
>> Li southBound A
>> odl-openflowplugin-flow-services-li      | 0.2.0-Beryllium  | x         |
>> openflowplugin-li-0.2.0-Beryllium    | OpenDaylight :: Openflow Plugin ::
>> Flow Services
>> odl-openflowplugin-nsf-services-li       | 0.2.0-Beryllium  | x         |
>> openflowplugin-li-0.2.0-Beryllium    | OpenDaylight :: OpenflowPlugin ::
>> NSF :: Services
>> odl-openflowplugin-nsf-model-li          | 0.2.0-Beryllium  | x         |
>> openflowplugin-li-0.2.0-Beryllium    | OpenDaylight :: OpenflowPlugin ::
>> NSF :: Model
>> odl-openflowplugin-flow-services-rest-li | 0.2.0-Beryllium  | x         |
>> openflowplugin-li-0.2.0-Beryllium    | OpenDaylight :: Openflow Plugin ::
>> Flow Services :
>> odl-openflowplugin-flow-services-ui-li   | 0.2.0-Beryllium  | x         |
>> openflowplugin-li-0.2.0-Beryllium    | OpenDaylight :: Openflow Plugin ::
>> Flow Services :
>> odl-openflowplugin-app-config-pusher-li  | 0.2.0-Beryllium  | x         |
>> openflowplugin-li-0.2.0-Beryllium    | OpenDaylight :: Openflow Plugin ::
>> app - default c
>> odl-openflowplugin-app-lldp-speaker-li   | 0.2.0-Beryllium  | x         |
>> openflowplugin-li-0.2.0-Beryllium    | OpenDaylight :: Openflow Plugin ::
>> app lldp-speake
>> odl-tsdr-openflow-statistics-collector   | 1.1.0-Beryllium  | x         |
>> odl-tsdr-1.1.0-Beryllium             | OpenDaylight :: TSDR :: Openflow
>> Statistics Collec
>> odl-openflowplugin-all                   | 0.2.0-Beryllium  | x         |
>> openflowplugin-0.2.0-Beryllium       | OpenDaylight :: Openflow Plugin ::
>> All
>> odl-openflowplugin-southbound            | 0.2.0-Beryllium  | x         |
>> openflowplugin-0.2.0-Beryllium       | OpenDaylight :: Openflow Plugin ::
>> SouthBound
>> odl-openflowplugin-flow-services         | 0.2.0-Beryllium  | x         |
>> openflowplugin-0.2.0-Beryllium       | OpenDaylight :: Openflow Plugin ::
>> Flow Services
>> odl-openflowplugin-nsf-services          | 0.2.0-Beryllium  | x         |
>> openflowplugin-0.2.0-Beryllium       | OpenDaylight :: OpenflowPlugin ::
>> NSF :: Services
>> odl-openflowplugin-nsf-model             | 0.2.0-Beryllium  | x         |
>> openflowplugin-0.2.0-Beryllium       | OpenDaylight :: OpenflowPlugin ::
>> NSF :: Model
>> odl-openflowplugin-flow-services-rest    | 0.2.0-Beryllium  | x         |
>> openflowplugin-0.2.0-Beryllium       | OpenDaylight :: Openflow Plugin ::
>> Flow Services :
>> odl-openflowplugin-flow-services-ui      | 0.2.0-Beryllium  | x         |
>> openflowplugin-0.2.0-Beryllium       | OpenDaylight :: Openflow Plugin ::
>> Flow Services :
>> odl-openflowplugin-app-config-pusher     | 0.2.0-Beryllium  | x         |
>> openflowplugin-0.2.0-Beryllium       | OpenDaylight :: Openflow Plugin ::
>> app - default c
>> odl-openflowplugin-app-lldp-speaker      | 0.2.0-Beryllium  | x         |
>> openflowplugin-0.2.0-Beryllium       | OpenDaylight :: Openflow Plugin ::
>> app lldp-speake
>>
>>
>>
>> If it doesn't help, what can I retrieve that information?
>>
>> Thanks
>>
>>
>>
>> 2016-05-04 11:34 GMT+01:00 Shuva Jyoti Kar <[email protected]
>> >:
>>
>> Which ofplugin model are you using ?
>>
>>
>>
>> Thanks
>>
>> Shuva
>>
>>
>>
>> *From:* [email protected] [mailto:
>> [email protected]] *On Behalf Of *Rui Q
>> *Sent:* Wednesday, May 04, 2016 3:47 PM
>> *To:* [email protected];
>> [email protected]
>> *Subject:* [openflowplugin-dev] Fwd: openflow plugin - statistics
>> collecting time
>>
>>
>>
>> Hello,
>>
>>
>>
>>
>>
>> Does anyone knows how to reduce the statistics fetching time of the
>> openflow plugin?
>>
>>
>>
>> In the manual says "Current implementation collects above mentioned
>> statistics (except 10-14) at a periodic interval of 15 seconds".
>>
>>
>>
>> I needed something as close to real time as possible just for testing in
>> a simple and basic architecture.
>>
>>
>>
>>
>>
>> Thanks
>>
>>
>>
>>
>>
>
>
_______________________________________________
openflowplugin-dev mailing list
[email protected]
https://lists.opendaylight.org/mailman/listinfo/openflowplugin-dev

Reply via email to