summaryrefslogtreecommitdiffstats
path: root/vpp-common/vpp-jvpp-cfg/src/main/yang/vpp-jvpp-cfg.yang
diff options
context:
space:
mode:
authorMaros Marsalek <mmarsale@cisco.com>2016-07-27 11:05:51 +0200
committerMaros Marsalek <mmarsale@cisco.com>2016-07-29 16:32:07 +0200
commit81c9cdfa5a9e91b91d73a6a2b20cff8b612d7de3 (patch)
treec941a2e5ea9df88acdfc64392b03228fdd18eb2b /vpp-common/vpp-jvpp-cfg/src/main/yang/vpp-jvpp-cfg.yang
parent10d33239e1e0d10a2f51e6739d18035e61600eb8 (diff)
HONEYCOMB-130: Separate v3po plugin from HC infra
Creating folders: - common/ - infra/ - v3po/ - vpp-common/ Change-Id: I2c39e1b17e39e7c0f0628f44aa5fe08563fa06e4 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Diffstat (limited to 'vpp-common/vpp-jvpp-cfg/src/main/yang/vpp-jvpp-cfg.yang')
-rw-r--r--vpp-common/vpp-jvpp-cfg/src/main/yang/vpp-jvpp-cfg.yang43
1 files changed, 43 insertions, 0 deletions
diff --git a/vpp-common/vpp-jvpp-cfg/src/main/yang/vpp-jvpp-cfg.yang b/vpp-common/vpp-jvpp-cfg/src/main/yang/vpp-jvpp-cfg.yang
new file mode 100644
index 000000000..01a0bf339
--- /dev/null
+++ b/vpp-common/vpp-jvpp-cfg/src/main/yang/vpp-jvpp-cfg.yang
@@ -0,0 +1,43 @@
+module vpp-jvpp-cfg {
+ yang-version 1;
+ namespace "urn:honeycomb:params:xml:ns:yang:vpp:jvpp:cfg";
+ prefix "vjvppc";
+
+ import config { prefix config; revision-date 2013-04-05; }
+
+ description
+ "This module contains the base YANG definitions for
+ readers/writers plugged into a honeycomb";
+
+ revision "2016-04-06" {
+ description
+ "Initial revision.";
+ }
+
+ identity vpp-jvpp {
+ base "config:service-type";
+ config:java-class org.openvpp.jvpp.future.FutureJVpp;
+ }
+
+ identity vpp-jvpp-impl {
+ base config:module-type;
+ config:provided-service vpp-jvpp;
+ }
+
+ augment "/config:modules/config:module/config:configuration" {
+ case vpp-jvpp-impl {
+ when "/config:modules/config:module/config:type = 'vpp-jvpp-impl'";
+
+ leaf name {
+ type string;
+ default "v3poODL";
+ }
+
+ leaf description {
+ type string;
+ description "Artificial leaf just to trigger reinitialization of JVpp from HC";
+ }
+ }
+ }
+
+} \ No newline at end of file