summaryrefslogtreecommitdiffstats
path: root/v3po/impl/src/main/yang
diff options
context:
space:
mode:
authorMaros Marsalek <mmarsale@cisco.com>2016-03-22 17:57:16 +0100
committerMarek Gradzki <mgradzki@cisco.com>2016-03-31 14:27:54 +0000
commit4c4f1743dc29e87b0ab4b39087f79f7f01befa49 (patch)
treeb339f6bed0337eb78fe9db81463fb66e2a42724c /v3po/impl/src/main/yang
parent41efda74f2d306399208b2a5d1f9ea85c8fbda43 (diff)
Dedicated NETCONF north interface for v3po
Change-Id: I3a001ef68f7ff43ec1b2a935dd474ec966cea878 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Diffstat (limited to 'v3po/impl/src/main/yang')
-rw-r--r--v3po/impl/src/main/yang/v3po-impl.yang23
1 files changed, 23 insertions, 0 deletions
diff --git a/v3po/impl/src/main/yang/v3po-impl.yang b/v3po/impl/src/main/yang/v3po-impl.yang
index 2e113e566..12f9d6f13 100644
--- a/v3po/impl/src/main/yang/v3po-impl.yang
+++ b/v3po/impl/src/main/yang/v3po-impl.yang
@@ -17,6 +17,7 @@ module v3po-impl {
identity v3po {
base config:module-type;
+ config:provided-service dom:dom-broker-osgi-registry;
config:java-name-prefix V3po;
}
@@ -42,4 +43,26 @@ module v3po-impl {
}
}
}
+
+ identity binding-broker-netconf {
+ base config:module-type;
+ config:provided-service md-sal-binding:binding-broker-osgi-registry;
+ config:java-name-prefix NetconfBindingBroker;
+ }
+
+ augment "/config:modules/config:module/config:configuration" {
+ case binding-broker-netconf {
+ when "/config:modules/config:module/config:type = 'binding-broker-netconf'";
+
+ container netconf-binding-broker {
+ uses config:service-ref {
+ refine type {
+ mandatory true;
+ config:required-identity md-sal-binding:binding-async-data-broker;
+ }
+ }
+ }
+
+ }
+ }
}