Hi Shuva,

Thanks for the answer.

Once I changed the flag, is it expected that RPC's will be available in 
runtime? As I mentioned in my mail things start working only after I restarted 
the ODL.

Is your change going to be push to boron? What is the ETA for it?

Thanks
Shlomi

From: Shuva Jyoti Kar [mailto:[email protected]]
Sent: Monday, September 12, 2016 9:56 AM
To: Alfasi, Shlomi <[email protected]>; 
[email protected]
Subject: RE: statistics RPC's in boron

Hi Shlomi,

Apologies for the delayed response.
There is a way  in which we can turn it on at runtime. Please refer to this 
chain:
https://lists.opendaylight.org/pipermail/openflowplugin-dev/2016-August/005718.html

However please be aware that after changing any configuration, the bundle will 
reload/restart. So please ensure that no switches are connected when you 
execute it.

I am working on moving some of the configurable parameters to a config file . 
In the mean time I thing you can use this.

Thanks
Shuva

From: 
[email protected]<mailto:[email protected]>
 [mailto:[email protected]] On Behalf Of 
Alfasi, Shlomi
Sent: Sunday, September 11, 2016 11:32 PM
To: 
[email protected]<mailto:[email protected]>
Subject: Re: [openflowplugin-dev] statistics RPC's in boron

Hi All,

I managed to have some progress with this issue. It seems that there is a flag 
in openflowplugin-provider-config (is-statistics-rpc-enabled) that was added 
for backward compatibility.
Once I change its value to true everything was working.
The remaining issue is that this change is not taking affect in runtime which 
mean I need to restart the ODL after applying the change.
I'm looking for the configuration file which will be edit/added in order to 
load with this flag set.
I tried adding the flag in [1] & [2] but none of them was working.

Thanks
Shlomi

[1] etc/opendaylight/karaf/42-openflowplugin-Li.xml
[2] 
system/org/opendaylight/openflowplugin/openflowplugin-controller-config/0.3.0-SNAPSHOT/openflowplugin-controller-config-0.3.0-SNAPSHOT-config-Li.xml
.
From: Alfasi, Shlomi
Sent: Monday, September 05, 2016 11:02 PM
To: 
[email protected]<mailto:[email protected]>
Subject: statistics RPC's in boron

HI,

I am failing to use the RPC getFlowStatisticsFromFlowTable in 
OpendaylightFlowStatisticsService in stable boron.
I have several issues and questions:

1)      When invoking this RPC I get the error [1] which imply that the 
delegate was not set in this service. What is need to be done in order to make 
the service fully available?

2)      This RPC marked as deprecated. What is the alternative?

3)      My statistics-work-mode configuration is set to COLLECT_ALL but still I 
don't have any statistics information in opendaylight-inventory:nodes

THX
Shlomi

[1] java.lang.IllegalAccessError: no delegate available - service is currently 
out of order
        at 
org.opendaylight.openflowplugin.impl.statistics.services.OpendaylightFlowStatisticsServiceImpl.getFlowStatisticsFromFlowTable(OpendaylightFlowStatisticsServiceImpl.java:159)
_______________________________________________
openflowplugin-dev mailing list
[email protected]
https://lists.opendaylight.org/mailman/listinfo/openflowplugin-dev

Reply via email to