> On Feb 2, 2017, at 5:24 PM, Tom Pantelis <tompante...@gmail.com> wrote:
> 
> Alexis,
> 
> On a side note, I was curious about the purpose of the mount point cache. Can 
> you explain a bit more?

Here is the explanation:

Bug Tracking: https://bugs.opendaylight.org/show_bug.cgi?id=7522 
<https://bugs.opendaylight.org/show_bug.cgi?id=7522>
Note: 
https://meetings.opendaylight.org/opendaylight-meeting/2017/tws/opendaylight-meeting-tws.2017-01-30-18.01.log.html
 
<https://meetings.opendaylight.org/opendaylight-meeting/2017/tws/opendaylight-meeting-tws.2017-01-30-18.01.log.html>
Recording: 
https://meetings.webex.com/collabs/#/meetings/detail?uuid=I9FFEQ5TEML679ALSDH6M545W1-9VIB
 
<https://meetings.webex.com/collabs/#/meetings/detail?uuid=I9FFEQ5TEML679ALSDH6M545W1-9VIB>
> 
> 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.

Ah, make sense I wasn't able to do so then.

Thanks for the answer.

> 
> Tom
> 
> On Thu, Feb 2, 2017 at 5:04 PM, Alexis de Talhouët <adetalhoue...@gmail.com 
> <mailto: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 
> <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

Reply via email to