From bc335de41876acd8720dce1030a79b3a7b39c3b1 Mon Sep 17 00:00:00 2001
From: Maros Marsalek <mmarsale@cisco.com>
Date: Wed, 21 Sep 2016 13:51:57 +0200
Subject: HONEYCOMB-209 Configure maven site

To produce site for Honeycomb +
javadoc
asciidoc

To build the site:
mvn clean install site:attach-descriptor site
mvn site:stage -DstagingDirectory=/home/mmarsale/tmp/stage

Change-Id: I4246bb09ba02b74a2a9c84ee73f8dba02384fffa
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
---
 infra/data-impl/asciidoc/Readme.adoc | 43 ++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)
 create mode 100644 infra/data-impl/asciidoc/Readme.adoc

(limited to 'infra/data-impl/asciidoc/Readme.adoc')

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    |
+               \--------------------------/
+....
+
+
+
+
-- 
cgit 1.2.3-korg

