Re: [controller-dev] Global RPCs aren't delegated in a cluster?

2016-11-29 Thread Muthukumaran K
Hi Robert, I searched around if there are any specific definition of 'nearest' in RFC - but could not find one. So, in case of symmetric deployment (or as mentioned by Guy in case of multiple RoutedRPC being registered with same route-key across the cluster), nearest could only imply network-l

Re: [controller-dev] Global RPCs aren't delegated in a cluster?

2016-11-29 Thread Robert Varga
On 11/29/2016 01:47 PM, Sela, Guy wrote: > Great, but as I understand from these bugs: > https://bugs.opendaylight.org/show_bug.cgi?id=6310 > https://bugs.opendaylight.org/show_bug.cgi?id=3128 > > Global RPC today has a bug that it is not routed to the nearest registered > implementation inside a

Re: [controller-dev] Global RPCs aren't delegated in a cluster?

2016-11-29 Thread Sela, Guy
Great, but as I understand from these bugs: https://bugs.opendaylight.org/show_bug.cgi?id=6310 https://bugs.opendaylight.org/show_bug.cgi?id=3128 Global RPC today has a bug that it is not routed to the nearest registered implementation inside a cluster, and therefore I need to use a RoutedRPC as

Re: [controller-dev] Global RPCs aren't delegated in a cluster?

2016-11-29 Thread Robert Varga
On 11/29/2016 01:15 PM, Sela, Guy wrote: > Are you trying to argue that there is no real meaning to the “globality” > of Global RPC because theoretically someone could register it in a > number of nodes? > > Isn’t this the same case with RoutedRpc that different nodes can > register for the same p

Re: [controller-dev] DataTreeChangeService - pre-existing data

2016-11-29 Thread Sela, Guy
I’m pretty sure there is a bug there. I’m working on Boron-SR1. I am doing a read on ElanInterfaces with InstanceIdentifier: InstanceIdentifier.create(ElanInterfaces.class) On the result I’m invoking: ElanInterfaces.getElanInteface().size(). Result is 6. Next line of code I’m registering a Cluster

Re: [controller-dev] Global RPCs aren't delegated in a cluster?

2016-11-29 Thread Sela, Guy
Hi, Thanks. Are you trying to argue that there is no real meaning to the "globality" of Global RPC because theoretically someone could register it in a number of nodes? Isn't this the same case with RoutedRpc that different nodes can register for the same path? From: Muthukumaran K [mailto:muth

Re: [controller-dev] DataTreeChangeService - pre-existing data

2016-11-29 Thread Tom Pantelis
yes - on registration it grabs the current data tree and sends it. If you're getting subsequent data then that must have occurred after your registration. On Tue, Nov 29, 2016 at 6:53 AM, Sela, Guy wrote: > Hi, > > > > In the Javadoc of DataTreeChangeService it says: > > “ > > If there is any pr

[controller-dev] DataTreeChangeService - pre-existing data

2016-11-29 Thread Sela, Guy
Hi, In the Javadoc of DataTreeChangeService it says: " If there is any pre-existing data in the data tree for the path for which you are registering, you will receive an initial data change event, which will contain all pre-existing data, marked as created. " Is this behavior guaranteed? Will al