Hi Guy, To your previous mail, yes, the routing is currently at the local-node level.
Wrt to your second mail on routed-rpc, that's roughly how it works in context of OFPlugin. As to which node acts as current active RPC provider for a given route-key (switch-id in this case) is determined using the cluster-singleton mechanism. Coming back to Global RPC and its routing across cluster, I had a clarification which I have posted as part of bug https://bugs.opendaylight.org/show_bug.cgi?id=3128 (pasting below for ready reference) In symmetric cluster, there can be multiple routees as providers of same RPC service. In which case, how single target local / remote-provider would be chosen ? In case of routed-rpc , route-key is unique across cluster so rpc target address would resolve to one and only one of N cluster nodes. But, in case of global rpcs, there can be multiple target address for same RPC and resolving could imply some kind of routing-policy to resolve to single target. Regards Muthu From: controller-dev-boun...@lists.opendaylight.org [mailto:controller-dev-boun...@lists.opendaylight.org] On Behalf Of Sela, Guy Sent: Wednesday, November 23, 2016 9:58 PM To: controller-dev@lists.opendaylight.org; mdsal-...@lists.opendaylight.org Subject: Re: [controller-dev] Global RPCs aren't delegated in a cluster? Also, can I just use a workaround of a RoutedRPC with only one context that will be registered by the leader? From: Sela, Guy Sent: Wednesday, November 23, 2016 6:10 PM To: controller-dev@lists.opendaylight.org<mailto:controller-dev@lists.opendaylight.org>; 'mdsal-...@lists.opendaylight.org' <mdsal-...@lists.opendaylight.org<mailto:mdsal-...@lists.opendaylight.org>> Subject: Global RPCs aren't delegated in a cluster? Hi, I saw these bugs: https://bugs.opendaylight.org/show_bug.cgi?id=6310 https://bugs.opendaylight.org/show_bug.cgi?id=3128 >From my understanding, these bugs mean that if I register a global RPC in a >leader instance in a cluster, when invoking the RPC in a non-leader instance, >the invocation won't be delegated to the leader. Is this correct? If so, is there any estimation when will this be fixed? Thanks, Guy Sela
_______________________________________________ controller-dev mailing list controller-dev@lists.opendaylight.org https://lists.opendaylight.org/mailman/listinfo/controller-dev