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

2016-11-23 Thread Muthukumaran K
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;
 '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


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

2016-11-23 Thread Sela, Guy
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; '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


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

2016-11-23 Thread Sela, Guy
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


Re: [controller-dev] [controller-users] About "packages use conflict"

2016-11-23 Thread Vratko Polak -X (vrpolak - PANTHEON TECHNOLOGIES at Cisco)
+controller-dev may be more suitable for such technical discussion.

> Package uses conflict: Import-Package: 
> org.opendaylight.yangtools.yang.common; version="[1.0.0,2.0.0)"

I would guess your bundle depends on that,
but your feature descriptor does not list
odl-yangtools-common feature dependency.
There may be other reasons.

> The bundle could successfully run “mvn clean install”

I recommend using inheriting from features-parent (odlparent project).
It allows you to use {{VERSION}} placeholder to simplify things,
and it runs SingleFeatureTest, catching errors like these during build.

Vratko.

-Original Message-
From: controller-users-boun...@lists.opendaylight.org 
[mailto:controller-users-boun...@lists.opendaylight.org] On Behalf Of ???
Sent: 21 November, 2016 09:48
To: controller-us...@lists.opendaylight.org
Subject: [controller-users] About "packages use conflict"

Hi there, 

I work on my own app (ODL plugin), and I got packages use conflict problem.

The bundle could successfully run “mvn clean install”, however during 
“feature:install” it gave me something like this:

opendaylight-user@root>feature:install algoblu-topology-manager

Error executing command: Can't install feature algoblu-topology-manager/0.0.0:

Could not start bundle mvn:com.algoblu.networkManager/topologyImpl/1.0.0 in 
feature(s) algoblu-topology-impl-1.0.0, algoblu-topology-manager-1.0.0: The 
bundle "com.algoblu.networkManager.topologyImpl_1.0.0 [328]" could not be 
resolved.

Reason: 
Package uses conflict: Import-Package: 
org.opendaylight.controller.config.yang.md.sal.binding; 
version="[1.4.0,2.0.0)”, 

Package uses conflict: Import-Package: 
org.opendaylight.controller.md.sal.binding.api; version="[1.4.0,2.0.0)”, 

Package uses conflict: Import-Package: org.opendaylight.yangtools.yang.common; 
version="[1.0.0,2.0.0)"

opendaylight-user@root>   

Might I ask how should I solve this? Or where should I start to look into?

Best Regards,

Irving

___
controller-users mailing list
controller-us...@lists.opendaylight.org
https://lists.opendaylight.org/mailman/listinfo/controller-users
___
controller-dev mailing list
controller-dev@lists.opendaylight.org
https://lists.opendaylight.org/mailman/listinfo/controller-dev


Re: [controller-dev] Unable to access user guide, development guide

2016-11-23 Thread sivashankar ravishankar
Yes,

Now it works i can access the links

Thanks
Sivashankar



On Wed, Nov 23, 2016 at 1:52 PM, Vishal Thapar 
wrote:

> Hi Siva,
>
>
>
> Have you tried the Installation guide? You click on Installation Guide,
> which will take you to a google doc and then download the pdf fom thre.
> Section 4 covers cluster installation.
>
>
>
> Does this help?
>
>
>
> Regards,
>
> Vishal.
>
>
>
> *From:* sivashankar ravishankar [mailto:hcls...@gmail.com]
> *Sent:* 23 November 2016 13:38
> *To:* Vishal Thapar 
> *Cc:* controller-dev ; ODL Docs <
> documentat...@lists.opendaylight.org>
> *Subject:* Re: [controller-dev] Unable to access user guide, development
> guide
>
>
>
> Hi Vishal,
>
>
>
> I need to work on cluster related items. I have downloaded Boron
> distribution. Need instruction related to setup clustering. can you point
> me to related documents ?
>
>
>
> I tried to get user guide, developer guide installation guide but none
> works.
>
>
>
> Thanks
>
> Sivashankar
>
>
>
> On Wed, Nov 23, 2016 at 1:34 PM, Vishal Thapar 
> wrote:
>
> Added documentation.
>
>
>
> Hi Ravi,
>
>
>
> Which particular guide you’re trying to download?
>
>
>
> Regards,
>
> Vishal.
>
>
>
> *From:* controller-dev-boun...@lists.opendaylight.org [mailto:
> controller-dev-boun...@lists.opendaylight.org] *On Behalf Of *sivashankar
> ravishankar
> *Sent:* 23 November 2016 13:26
> *To:* controller-dev 
> *Subject:* [controller-dev] Unable to access user guide, development guide
>
>
>
> Hi,
>
>
>
> I am unable to download user guide, installation guide, developement guide
> from https://www.opendaylight.org/downloads. Can someone look into this ?
>
>
>
> Regards,
>
> Sivashankar
>
>
>
___
controller-dev mailing list
controller-dev@lists.opendaylight.org
https://lists.opendaylight.org/mailman/listinfo/controller-dev


Re: [controller-dev] Unable to access user guide, development guide

2016-11-23 Thread Vishal Thapar
Hi Siva,

Have you tried the Installation guide? You click on Installation Guide, which 
will take you to a google doc and then download the pdf fom thre. Section 4 
covers cluster installation.

Does this help?

Regards,
Vishal.

From: sivashankar ravishankar [mailto:hcls...@gmail.com]
Sent: 23 November 2016 13:38
To: Vishal Thapar 
Cc: controller-dev ; ODL Docs 

Subject: Re: [controller-dev] Unable to access user guide, development guide

Hi Vishal,

I need to work on cluster related items. I have downloaded Boron distribution. 
Need instruction related to setup clustering. can you point me to related 
documents ?

I tried to get user guide, developer guide installation guide but none works.

Thanks
Sivashankar

On Wed, Nov 23, 2016 at 1:34 PM, Vishal Thapar 
> wrote:
Added documentation.

Hi Ravi,

Which particular guide you’re trying to download?

Regards,
Vishal.

From: 
controller-dev-boun...@lists.opendaylight.org
 
[mailto:controller-dev-boun...@lists.opendaylight.org]
 On Behalf Of sivashankar ravishankar
Sent: 23 November 2016 13:26
To: controller-dev 
>
Subject: [controller-dev] Unable to access user guide, development guide

Hi,

I am unable to download user guide, installation guide, developement guide from 
https://www.opendaylight.org/downloads. Can someone look into this ?

Regards,
Sivashankar

___
controller-dev mailing list
controller-dev@lists.opendaylight.org
https://lists.opendaylight.org/mailman/listinfo/controller-dev


Re: [controller-dev] Unable to access user guide, development guide

2016-11-23 Thread sivashankar ravishankar
Hi Vishal,

I need to work on cluster related items. I have downloaded Boron
distribution. Need instruction related to setup clustering. can you point
me to related documents ?

I tried to get user guide, developer guide installation guide but none
works.

Thanks
Sivashankar

On Wed, Nov 23, 2016 at 1:34 PM, Vishal Thapar 
wrote:

> Added documentation.
>
>
>
> Hi Ravi,
>
>
>
> Which particular guide you’re trying to download?
>
>
>
> Regards,
>
> Vishal.
>
>
>
> *From:* controller-dev-boun...@lists.opendaylight.org [mailto:
> controller-dev-boun...@lists.opendaylight.org] *On Behalf Of *sivashankar
> ravishankar
> *Sent:* 23 November 2016 13:26
> *To:* controller-dev 
> *Subject:* [controller-dev] Unable to access user guide, development guide
>
>
>
> Hi,
>
>
>
> I am unable to download user guide, installation guide, developement guide
> from https://www.opendaylight.org/downloads. Can someone look into this ?
>
>
>
> Regards,
>
> Sivashankar
>
___
controller-dev mailing list
controller-dev@lists.opendaylight.org
https://lists.opendaylight.org/mailman/listinfo/controller-dev