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 <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 <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/ <https://git.opendaylight.org/gerrit/#/c/49174/>
_______________________________________________ controller-dev mailing list controller-dev@lists.opendaylight.org https://lists.opendaylight.org/mailman/listinfo/controller-dev