Alexis, On a side note, I was curious about the purpose of the mount point cache. Can you explain a bit more?
The Conceptual Data Tree stuff does have an API to dynamically create prefixed shards. However the patches to implement the new APIs in CDS is still in progress. Tomas Cere is working on that. Tom On Thu, Feb 2, 2017 at 5:04 PM, Alexis de Talhouët <adetalhoue...@gmail.com> wrote: > Hello controller-dev, > > While creating this little PoC [0] to dynamically mount yang models, I > tried to create a CDS shard to backed the created SchemaContext in the > datastore, but wasn't able to achieve this, so I create an > InMemoryDataStore instance, which is super easy to do, see [1]. > > Is there any written guide to create CDS shard and to interact with it? > (Unfortunatly I guess this is a rethorical question, but had to mentioned > it anyway) > All I could find was [2], but I believe it's still WIP, and I wasn't able > to understand how transaction are created for that particular shard. > > Also considering the amoung of code in the sal-distributed-datastore, I'd > appreciate if someone could help me towards achieving my goal, and I'll > setup a wiki to explain to process :) > > Thanks, > Alexis > > [0]: https://github.com/adetalhouet/cached-mountpoint > [1]: https://github.com/adetalhouet/cached-mountpoint/ > blob/master/impl/src/main/java/org/opendaylight/mdsal/mount/cache/impl/ > InMemoryDeviceDOMDataStorePool.java#L63 > [2]: https://git.opendaylight.org/gerrit/#/c/49174/ > >
_______________________________________________ controller-dev mailing list controller-dev@lists.opendaylight.org https://lists.opendaylight.org/mailman/listinfo/controller-dev