summaryrefslogtreecommitdiffstats
path: root/v3po/impl/src/main/yang/v3po-impl.yang
diff options
context:
space:
mode:
Diffstat (limited to 'v3po/impl/src/main/yang/v3po-impl.yang')
-rw-r--r--v3po/impl/src/main/yang/v3po-impl.yang22
1 files changed, 22 insertions, 0 deletions
diff --git a/v3po/impl/src/main/yang/v3po-impl.yang b/v3po/impl/src/main/yang/v3po-impl.yang
index 3f7af6185..3ab69f4e9 100644
--- a/v3po/impl/src/main/yang/v3po-impl.yang
+++ b/v3po/impl/src/main/yang/v3po-impl.yang
@@ -143,4 +143,26 @@ module v3po-impl {
}
}
+
+ identity context-reader {
+ base config:module-type;
+ config:provided-service tapi:honeycomb-reader;
+ description "A reader to provide mapping context related data";
+ }
+
+ augment "/config:modules/config:module/config:configuration" {
+ case context-reader {
+ when "/config:modules/config:module/config:type = 'context-reader'";
+
+ container context-binding-broker {
+ uses config:service-ref {
+ refine type {
+ mandatory true;
+ config:required-identity md-sal-binding:binding-async-data-broker;
+ }
+ }
+ }
+
+ }
+ }
}