summaryrefslogtreecommitdiffstats
path: root/v3po/v3po2vpp/src/main/yang
diff options
context:
space:
mode:
Diffstat (limited to 'v3po/v3po2vpp/src/main/yang')
-rw-r--r--v3po/v3po2vpp/src/main/yang/v3po2vpp.yang22
1 files changed, 22 insertions, 0 deletions
diff --git a/v3po/v3po2vpp/src/main/yang/v3po2vpp.yang b/v3po/v3po2vpp/src/main/yang/v3po2vpp.yang
index a52a05fec..9d3199970 100644
--- a/v3po/v3po2vpp/src/main/yang/v3po2vpp.yang
+++ b/v3po/v3po2vpp/src/main/yang/v3po2vpp.yang
@@ -36,6 +36,28 @@ module v3po2vpp {
}
}
+ identity interfaces-state-honeycomb-reader {
+ base config:module-type;
+ config:provided-service tapi:honeycomb-reader;
+ }
+
+ augment "/config:modules/config:module/config:configuration" {
+ case interfaces-state-honeycomb-reader {
+ when "/config:modules/config:module/config:type = 'interfaces-state-honeycomb-reader'";
+
+ container vpp-japi {
+ uses config:service-ref {
+ refine type {
+ mandatory true;
+ config:required-identity vjc:vpp-japi;
+ }
+ }
+ }
+
+ }
+ }
+
+
identity vpp-honeycomb-writer {
base config:module-type;
config:provided-service tapi:honeycomb-writer;