Ask is moving to Stack Overflow and! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode


How to implement my own datastore. Starting point

asked 2015-01-27 09:47:35 -0700

anu.nair gravatar image


I want to implement my own datastore and avoid using infinispan. Any examples or starting point. The below link doesn't give much information. If anyone had done that. please let me know.

Thanks in advance

edit retag flag offensive close merge delete


If you don't like Infinispan, you may want to look at what's provided in the Helium release. There is a persisted data store offered with the clustering feature of this release. This page explains how to set this up:

tbachman ( 2015-02-02 16:35:37 -0700 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2015-03-13 04:08:36 -0700

Tony Tkacik gravatar image

updated 2015-03-13 04:08:51 -0700

Helium has two datastores currently present:

  • sal-inmemory-datastore - initial implementation of datastore, which stores all data on heap
  • sal-clustered-datastore - Clustered implementaion based on Akka, which uses inmemory datastore to store data.

Based on your type of implementation, you may want to implement Datastore APIs from sal-core-spi, or if that decomposition does not work for you, you may implement your own DataBroker (ideally DOMDataBroker).

But hugelly how the actual implementation of datastore will look-like will depends on your backing technology (in-memory is simple - because use YANG Data native format).

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2015-01-27 09:47:35 -0700

Seen: 533 times

Last updated: Mar 13 '15