From 9e59a344c5a5b81fb7b7292184e849ad0fc9507c Mon Sep 17 00:00:00 2001 From: Maros Marsalek Date: Mon, 16 May 2016 10:43:29 +0200 Subject: 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 --- v3po/data-impl/src/main/yang/data-impl.yang | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'v3po/data-impl') diff --git a/v3po/data-impl/src/main/yang/data-impl.yang b/v3po/data-impl/src/main/yang/data-impl.yang index da1c02316..454e99a66 100644 --- a/v3po/data-impl/src/main/yang/data-impl.yang +++ b/v3po/data-impl/src/main/yang/data-impl.yang @@ -18,14 +18,9 @@ module data-impl { "Initial revision."; } - identity data-tree { - base "config:service-type"; - config:java-class org.opendaylight.yangtools.yang.data.api.schema.tree.DataTree; - } - identity inmemory-data-tree { base config:module-type; - config:provided-service data-tree; + config:provided-service dapi:data-tree; config:java-name-prefix InMemoryDataTree; } @@ -57,7 +52,7 @@ module data-impl { identity persisting-data-tree-adapter { base config:module-type; - config:provided-service data-tree; + config:provided-service dapi:data-tree; config:java-name-prefix PersistingDataTreeAdapter; } @@ -69,7 +64,7 @@ module data-impl { uses config:service-ref { refine type { mandatory true; - config:required-identity data-tree; + config:required-identity dapi:data-tree; } } } @@ -103,7 +98,7 @@ module data-impl { uses config:service-ref { refine type { mandatory true; - config:required-identity data-tree; + config:required-identity dapi:data-tree; } } } -- cgit 1.2.3-korg