So in order to get a snapshot of time So could I theoretically do: * DOMDataReadTransaction.read(YangInstanceIdentifier.EMPTY) * Get the BI root. * Extract the BI subtrees from the BI Root * Convert the BI subtrees to BA subtrees using TPUtils-like code?
Do you think this is the best way to get a snapshot of multiple subtrees? Or is there a better solution? -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Robert Varga Sent: Monday, September 19, 2016 2:45 PM To: Sela, Guy <[email protected]>; Tom Pantelis <[email protected]> Cc: controller-dev <[email protected]> Subject: Re: [controller-dev] [documentation] Questions about ODL clustering On 09/19/2016 12:20 PM, Sela, Guy wrote: > Oh I missed the fact you are talking about the new API that returns > NormalizedNode (BI). > I was referring to the old API: > org.opendaylight.controller.md.sal.binding.api.ReadOnlyTransaction.rea > d(..) Top-level root is not representable in BA because it does not have a model hence it does not have a corresponding DataObject. Bye, Robert _______________________________________________ controller-dev mailing list [email protected] https://lists.opendaylight.org/mailman/listinfo/controller-dev
