summaryrefslogtreecommitdiffstats
path: root/v3po/vpp-jvpp-cfg/src/main/yang/vpp-jvpp-cfg.yang
diff options
context:
space:
mode:
Diffstat (limited to 'v3po/vpp-jvpp-cfg/src/main/yang/vpp-jvpp-cfg.yang')
-rw-r--r--v3po/vpp-jvpp-cfg/src/main/yang/vpp-jvpp-cfg.yang38
1 files changed, 38 insertions, 0 deletions
diff --git a/v3po/vpp-jvpp-cfg/src/main/yang/vpp-jvpp-cfg.yang b/v3po/vpp-jvpp-cfg/src/main/yang/vpp-jvpp-cfg.yang
new file mode 100644
index 000000000..b91fcba09
--- /dev/null
+++ b/v3po/vpp-jvpp-cfg/src/main/yang/vpp-jvpp-cfg.yang
@@ -0,0 +1,38 @@
+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";
+ }
+ }
+ }
+
+} \ No newline at end of file