summaryrefslogtreecommitdiffstats
path: root/v3po/impl/src/main/yang/v3po-impl.yang
diff options
context:
space:
mode:
Diffstat (limited to 'v3po/impl/src/main/yang/v3po-impl.yang')
-rw-r--r--v3po/impl/src/main/yang/v3po-impl.yang35
1 files changed, 35 insertions, 0 deletions
diff --git a/v3po/impl/src/main/yang/v3po-impl.yang b/v3po/impl/src/main/yang/v3po-impl.yang
new file mode 100644
index 000000000..7a6fd4277
--- /dev/null
+++ b/v3po/impl/src/main/yang/v3po-impl.yang
@@ -0,0 +1,35 @@
+module v3po-impl {
+ yang-version 1;
+ namespace "urn:opendaylight:params:xml:ns:yang:v3po:impl";
+ prefix "v3po-impl";
+
+ import config { prefix config; revision-date 2013-04-05; }
+ import opendaylight-md-sal-binding { prefix md-sal-binding; revision-date 2013-10-28;}
+
+ description
+ "Service definition for v3po project";
+
+ revision "2014-12-10" {
+ description
+ "Initial revision";
+ }
+
+ identity v3po {
+ base config:module-type;
+ config:java-name-prefix V3po;
+ }
+
+ augment "/config:modules/config:module/config:configuration" {
+ case v3po {
+ when "/config:modules/config:module/config:type = 'v3po'";
+ container broker {
+ uses config:service-ref {
+ refine type {
+ mandatory true;
+ config:required-identity md-sal-binding:binding-broker-osgi-registry;
+ }
+ }
+ }
+ }
+ }
+}