summaryrefslogtreecommitdiffstats
path: root/v3po/v3po2vpp/src/main/yang/v3po2vpp.yang
diff options
context:
space:
mode:
Diffstat (limited to 'v3po/v3po2vpp/src/main/yang/v3po2vpp.yang')
-rw-r--r--v3po/v3po2vpp/src/main/yang/v3po2vpp.yang58
1 files changed, 58 insertions, 0 deletions
diff --git a/v3po/v3po2vpp/src/main/yang/v3po2vpp.yang b/v3po/v3po2vpp/src/main/yang/v3po2vpp.yang
index 8a5527248..0c215707d 100644
--- a/v3po/v3po2vpp/src/main/yang/v3po2vpp.yang
+++ b/v3po/v3po2vpp/src/main/yang/v3po2vpp.yang
@@ -146,6 +146,35 @@ module v3po2vpp {
}
}
+ identity vpp-classifier-honeycomb-reader {
+ base config:module-type;
+ config:provided-service tapi:honeycomb-reader;
+ }
+
+ augment "/config:modules/config:module/config:configuration" {
+ case vpp-classifier-honeycomb-reader {
+ when "/config:modules/config:module/config:type = 'vpp-classifier-honeycomb-reader'";
+
+ container vpp-jvpp {
+ uses config:service-ref {
+ refine type {
+ mandatory true;
+ config:required-identity vjvppc:vpp-jvpp;
+ }
+ }
+ }
+
+ container classify-table-context {
+ uses config:service-ref {
+ refine type {
+ mandatory true;
+ config:required-identity vpp-u:naming-context;
+ }
+ }
+ }
+ }
+ }
+
identity vpp-honeycomb-writer {
base config:module-type;
@@ -224,6 +253,35 @@ module v3po2vpp {
}
}
+ identity vpp-classifier-honeycomb-writer {
+ base config:module-type;
+ config:provided-service tapi:honeycomb-writer-factory;
+ }
+
+ augment "/config:modules/config:module/config:configuration" {
+ case vpp-classifier-honeycomb-writer {
+ when "/config:modules/config:module/config:type = 'vpp-classifier-honeycomb-writer'";
+
+ container vpp-jvpp {
+ uses config:service-ref {
+ refine type {
+ mandatory true;
+ config:required-identity vjvppc:vpp-jvpp;
+ }
+ }
+ }
+
+ container classify-table-context {
+ uses config:service-ref {
+ refine type {
+ mandatory true;
+ config:required-identity vpp-u:naming-context;
+ }
+ }
+ }
+ }
+ }
+
identity vpp-cfg-initializer {
base config:module-type;
config:provided-service init:cfg-initializer;