summaryrefslogtreecommitdiffstats
path: root/v3po/data-impl/src/main/yang/data-impl.yang
diff options
context:
space:
mode:
Diffstat (limited to 'v3po/data-impl/src/main/yang/data-impl.yang')
-rw-r--r--v3po/data-impl/src/main/yang/data-impl.yang34
1 files changed, 34 insertions, 0 deletions
diff --git a/v3po/data-impl/src/main/yang/data-impl.yang b/v3po/data-impl/src/main/yang/data-impl.yang
index 5275e6556..fa6c6f06d 100644
--- a/v3po/data-impl/src/main/yang/data-impl.yang
+++ b/v3po/data-impl/src/main/yang/data-impl.yang
@@ -44,6 +44,40 @@ module data-impl {
}
}
+ identity persisting-data-tree-adapter {
+ base config:module-type;
+ config:provided-service data-tree;
+ config:java-name-prefix PersistingDataTreeAdapter;
+ }
+
+ augment "/config:modules/config:module/config:configuration" {
+ case persisting-data-tree-adapter {
+ when "/config:modules/config:module/config:type = 'persisting-data-tree-adapter'";
+
+ container delegate {
+ uses config:service-ref {
+ refine type {
+ mandatory true;
+ config:required-identity data-tree;
+ }
+ }
+ }
+
+ container schema-service {
+ uses config:service-ref {
+ refine type {
+ mandatory true;
+ config:required-identity dom:schema-service;
+ }
+ }
+ }
+
+ leaf persist-file-path {
+ type string;
+ }
+ }
+ }
+
identity honeycomb-config-data-tree {
base config:module-type;
config:provided-service dapi:honeycomb-modifiable-data-tree;