summaryrefslogtreecommitdiffstats
path: root/v3po/impl/src/main/yang/v3po-impl.yang
diff options
context:
space:
mode:
authorEd Warnicke <eaw@cisco.com>2016-01-10 06:15:18 -0800
committerRobert Varga <nite@hq.sk>2016-01-30 00:01:07 +0100
commit36424f46ff5543c2ae475c60bb3e08f299c55799 (patch)
tree604e5edce7433e8fb4c0fbd16f1bf1ffdfd997bb /v3po/impl/src/main/yang/v3po-impl.yang
parentbca403e3d9abfd87a8eeffa88f4a1eb823e6780f (diff)
Initial honeycomb code commit.
This commit drops the basic structure with disabled integration tests. The tests will be enabled in a follow-up patch, which sorts out the current .so loading problems. Change-Id: If70f2f13b2cf49af82996f884218ac05d335c2ed Signed-off-by: Ed Warnicke <eaw@cisco.com> Signed-off-by: Robert Varga <nite@hq.sk>
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;
+ }
+ }
+ }
+ }
+ }
+}