Oh I missed the fact you are talking about the new API that returns 
NormalizedNode (BI).
I was referring to the old API: 

-----Original Message-----
From: Sela, Guy 
Sent: Monday, September 19, 2016 12:50 PM
To: 'Robert Varga' <n...@hq.sk>; Tom Pantelis <tompante...@gmail.com>
Cc: controller-dev <controller-dev@lists.opendaylight.org>
Subject: RE: [controller-dev] [documentation] Questions about ODL clustering

If they don't have a joint root in BA world, what can I do with the value 
returned from issuing DOMDataReadTransaction.read(YangInstanceIdentifier.EMPTY)?
It is a BA value, no a BI value.
Am I missing something?

-----Original Message-----
From: Robert Varga [mailto:n...@hq.sk] 
Sent: Monday, September 19, 2016 12:24 PM
To: Sela, Guy <guy.s...@hpe.com>; Tom Pantelis <tompante...@gmail.com>
Cc: controller-dev <controller-dev@lists.opendaylight.org>
Subject: Re: [controller-dev] [documentation] Questions about ODL clustering

On 09/19/2016 11:13 AM, Sela, Guy wrote:
> Do all of them have a joint root? (YangInstanceIdentifier.EMPTY)?

In BI world they do. In BA world they do not.

> Will issuing DOMDataReadTransaction.read(YangInstanceIdentifier.EMPTY) 
> provide me a snapshot of all?
> Sounds like it can't work in a Clustered Data Store, because the reads are 
> not from the local replica.

CDS does recognize the query and assembles the information from all shards -- 
otherwise RESTCONF would not work.


controller-dev mailing list

Reply via email to