summaryrefslogtreecommitdiffstats
path: root/v3po/translate-utils/src/main/yang/translate-utils.yang
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2016-04-11 21:23:57 +0200
committerMarek Gradzki <mgradzki@cisco.com>2016-04-12 11:05:25 +0200
commit6bad7a88fa8b0be4f371897447f78abe7c52f805 (patch)
tree2eedfc7c1fcc3d255e3f03011845e46a2ce0832f /v3po/translate-utils/src/main/yang/translate-utils.yang
parentf93415dd8b3719b380b4295ab364420b9bf3d927 (diff)
HONEYCOMB-34: Config tree initialization using binding data broker
Change-Id: I070aca2cc35dd10ea5bde19c8cbf4cad1c50f468 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'v3po/translate-utils/src/main/yang/translate-utils.yang')
-rw-r--r--v3po/translate-utils/src/main/yang/translate-utils.yang11
1 files changed, 11 insertions, 0 deletions
diff --git a/v3po/translate-utils/src/main/yang/translate-utils.yang b/v3po/translate-utils/src/main/yang/translate-utils.yang
index 093e1725b..238528d56 100644
--- a/v3po/translate-utils/src/main/yang/translate-utils.yang
+++ b/v3po/translate-utils/src/main/yang/translate-utils.yang
@@ -58,4 +58,15 @@ module translate-utils {
}
}
+ identity noop-writer-registry {
+ base config:module-type;
+ config:provided-service tapi:honeycomb-writer-registry;
+ config:java-name-prefix NoopWriterRegistry;
+ }
+
+ augment "/config:modules/config:module/config:configuration" {
+ case noop-writer-registry {
+ when "/config:modules/config:module/config:type = 'noop-writer-registry'";
+ }
+ }
} \ No newline at end of file