summaryrefslogtreecommitdiffstats
path: root/vpp-common/vpp-jvpp-cfg/src/main/yang/vpp-jvpp-cfg.yang
diff options
context:
space:
mode:
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