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: controller-dev-boun...@lists.opendaylight.org [mailto:controller-dev-boun...@lists.opendaylight.org] On Behalf Of Robert Varga Sent: Monday, September 19, 2016 2:45 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 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 controller-dev@lists.opendaylight.org https://lists.opendaylight.org/mailman/listinfo/controller-dev