summaryrefslogtreecommitdiffstats
path: root/v3po/data-api
diff options
context:
space:
mode:
authorMaros Marsalek <mmarsale@cisco.com>2016-05-16 10:43:29 +0200
committerMaros Marsalek <mmarsale@cisco.com>2016-05-23 09:23:58 +0000
commitf19306a9263cb8dd8c10a4867633fbbe14db2e4c (patch)
tree03dd9af772c15fa54b79055a3803020c3cc27421 /v3po/data-api
parent3eecfd9e241c50c9e498391e706a4be1240f2cd1 (diff)
HONEYCOMB-61: Add context data tree
For storing mapping related context necessary for the plugins Add naming context adapter to store naming contexts in the data tree + Enable persistence for context data tree Change-Id: I2ac531e80e71a48d313b065997d134da2ae7ee12 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Diffstat (limited to 'v3po/data-api')
-rw-r--r--v3po/data-api/src/main/yang/data-api.yang5
1 files changed, 5 insertions, 0 deletions
diff --git a/v3po/data-api/src/main/yang/data-api.yang b/v3po/data-api/src/main/yang/data-api.yang
index 0a01a4242..92def4bc4 100644
--- a/v3po/data-api/src/main/yang/data-api.yang
+++ b/v3po/data-api/src/main/yang/data-api.yang
@@ -14,6 +14,11 @@ module data-api {
"Initial revision.";
}
+ identity data-tree {
+ base "config:service-type";
+ config:java-class org.opendaylight.yangtools.yang.data.api.schema.tree.DataTree;
+ }
+
identity honeycomb-readable-data-tree {
base "config:service-type";
config:java-class io.fd.honeycomb.v3po.data.ReadableDataTree;