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
commit3368459b88f4a1aca74eecf13216d1a3fafcc889 (patch)
tree96a7cdc140b800ac3288150b526496199f5bb695 /v3po/impl/src/main/yang
parent1fb7cb0596bde05c0931c43e53fba98e74005f9d (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;
+ }
+ }
+ }
+
+ }
+ }
}