Re: [controller-dev] odl integration with other software tools

2016-08-22 Thread priyank shah
Hey, Thanks Ryan and Brian, but I sort of understood what Ryan is trying to tell. I couldn't follow what Brian is saying. Also are there any good sources to learn yang modelling and NETCONF. Also Ryan, could you elaborate on the middle-ware you are talking about. Really appreciate the help. Regar

Re: [controller-dev] [mdsal-dev] onDataTreeChanged() Proxies / LadyDataObject

2016-08-22 Thread Sela, Guy
Got it, Thanks -Original Message- From: Robert Varga [mailto:n...@hq.sk] Sent: Monday, August 22, 2016 5:17 PM To: Sela, Guy ; mdsal-...@lists.opendaylight.org; controller-dev@lists.opendaylight.org Subject: Re: [controller-dev] [mdsal-dev] onDataTreeChanged() Proxies / LadyDataObject

Re: [controller-dev] [mdsal-dev] onDataTreeChanged() Proxies / LadyDataObject

2016-08-22 Thread Robert Varga
On 08/22/2016 03:45 PM, Sela, Guy wrote: > It will be done on the BI level in the final product. > Right now, just trying to quickly create something for a demo. > > Thanks. > > Can you elaborate on the second reason for the Proxies? > Why the fact that the Binding is specified as interfaces is

Re: [controller-dev] [mdsal-dev] onDataTreeChanged() Proxies / LadyDataObject

2016-08-22 Thread Sela, Guy
It will be done on the BI level in the final product. Right now, just trying to quickly create something for a demo. Thanks. Can you elaborate on the second reason for the Proxies? Why the fact that the Binding is specified as interfaces is an argument for working with a Proxy? -Original M

Re: [controller-dev] [mdsal-dev] onDataTreeChanged() Proxies / LadyDataObject

2016-08-22 Thread Robert Varga
On 08/22/2016 02:11 PM, Sela, Guy wrote: > Hi, > > I see that when I get a DCN, the fields of the object that are DTOs, are > all actually Proxies. > > I guess this is done for performance reasons. That, and also the fact Java Binding is specified in terms of interfaces, not classes (except for

Re: [controller-dev] odl integration with other software tools

2016-08-22 Thread Ryan Goulding
Good points, Brian. I'll note that RESTCONF has built in websocket support for notifications of data changes through the streams API [1]. Thus, you can subscribe to data change events from an external web socket client. This might be a useful start placing if you would prefer to leverage existing

Re: [controller-dev] odl integration with other software tools

2016-08-22 Thread FREEMAN, BRIAN D
Priyank, As indicated by Ryan there are multiple ways depending on the type of collection mechanism. We’ve used yang rpc’s a lot in our solutions so that we have a REST request/response approach to the ODL actions. We’ve also used asynchronous restconf updates (onDataTreeChangeListener) Either

[controller-dev] onDataTreeChanged() Proxies / LadyDataObject

2016-08-22 Thread Sela, Guy
Hi, I see that when I get a DCN, the fields of the object that are DTOs, are all actually Proxies. I guess this is done for performance reasons. Is there a way to register in "Eager" mode, which will give me real objects and not Proxies? I am trying to serialize/deserialize these objects, and doi