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.yang39
1 files changed, 39 insertions, 0 deletions
diff --git a/v3po/v3po2vpp/src/main/yang/v3po2vpp.yang b/v3po/v3po2vpp/src/main/yang/v3po2vpp.yang
index 5ccac8e94..cf89cbd51 100644
--- a/v3po/v3po2vpp/src/main/yang/v3po2vpp.yang
+++ b/v3po/v3po2vpp/src/main/yang/v3po2vpp.yang
@@ -10,6 +10,7 @@ module v3po2vpp {
import opendaylight-md-sal-binding { prefix md-sal-binding; revision-date 2013-10-28;}
import vpp-util { prefix vpp-u; revision-date 2016-04-06; }
import threadpool {prefix th;}
+ import notification-api { prefix hc-notif-a; revision-date 2016-06-01; }
description
"This module contains reads and writers for v3po yang model";
@@ -68,6 +69,44 @@ module v3po2vpp {
}
}
+ identity vpp-interface-notification-producer {
+ base config:module-type;
+ config:provided-service hc-notif-a:honeycomb-notification-producer;
+ }
+
+ augment "/config:modules/config:module/config:configuration" {
+ case vpp-interface-notification-producer {
+ when "/config:modules/config:module/config:type = 'vpp-interface-notification-producer'";
+
+ container vpp-jvpp {
+ uses config:service-ref {
+ refine type {
+ mandatory true;
+ config:required-identity vjvppc:vpp-jvpp;
+ }
+ }
+ }
+
+ container interface-context {
+ uses config:service-ref {
+ refine type {
+ mandatory true;
+ config:required-identity vpp-u:naming-context;
+ }
+ }
+ }
+
+ container realtime-mapping-context {
+ uses config:service-ref {
+ refine type {
+ mandatory true;
+ config:required-identity tapi:honeycomb-mapping-context;
+ }
+ }
+ }
+ }
+ }
+
identity interfaces-state-honeycomb-reader {
base config:module-type;
config:provided-service tapi:honeycomb-reader;