summaryrefslogtreecommitdiffstats
path: root/infra/data-impl/asciidoc/Readme.adoc
diff options
context:
space:
mode:
Diffstat (limited to 'infra/data-impl/asciidoc/Readme.adoc')
-rw-r--r--infra/data-impl/asciidoc/Readme.adoc43
1 files changed, 43 insertions, 0 deletions
diff --git a/infra/data-impl/asciidoc/Readme.adoc b/infra/data-impl/asciidoc/Readme.adoc
new file mode 100644
index 000000000..61b2653b3
--- /dev/null
+++ b/infra/data-impl/asciidoc/Readme.adoc
@@ -0,0 +1,43 @@
+= Honeycomb Data layer. Implementation
+
+Models CONFIG data store as a DataTree.
+
+Every read transaction reads directly from the DataTree.
+Every write transaction is validated, then passed to the translation layer.
+After successful update, config data tree is updated.
+
+OPERATIONAL data store reads are passed directly to the translation layer.
+
+Data transaction functionality for higher layers (i.e NETCONF/RESTCONF layer) is provided by DataBroker.
+
+[ditaa, "data-layer-architecture"]
+....
+ /------------------\
+ | RESTCONF/NETCONF |
+ \--------+---------/
+ |
+----------------------------|------------------------------------
+ v
+ /------------------\
+ | DataBroker |
+ \-+--------------+-/
+ | |
+ | read | read/write
+ Honeycomb v v
+ data layer /------+------\ /--+--------\ /----------\
+ | | | | | |
+ | Operational | | Config +------>+ DataTree +
+ | DataTree | | DataTree | | |
+ | | | | \----------/
+ \------+------/ \--+--------/
+ | |
+---------------------|--------------|----------------------------
+ v v
+ /-----+--------------+-----\
+ | Translation layer |
+ \--------------------------/
+....
+
+
+
+