]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[65-libyang-testutils] Added missing (or restored) keaexample module
authorFrancis Dupont <fdupont@isc.org>
Tue, 23 Oct 2018 20:04:36 +0000 (22:04 +0200)
committerFrancis Dupont <fdupont@isc.org>
Wed, 24 Oct 2018 13:50:51 +0000 (15:50 +0200)
src/lib/yang/tests/keaexample-module.yang [new file with mode: 0644]

diff --git a/src/lib/yang/tests/keaexample-module.yang b/src/lib/yang/tests/keaexample-module.yang
new file mode 100644 (file)
index 0000000..6e0eb84
--- /dev/null
@@ -0,0 +1,32 @@
+module keaexample-module {
+  yang-version 1.1;
+  namespace "urn:ietf:params:xml:ns:yang:keaexample-module";
+  prefix tm;
+
+  import ietf-inet-types {
+    prefix inet;
+  }
+
+  organization "Sysrepo and ISC";
+  description
+    "ISC imported an example module from Sysrepo tests and adapted it
+     to kea testing regime.";
+  contact
+    "kea-dev@lists.isc.org";
+
+   container container {
+      config true;
+      list list {
+         leaf leaf {
+            type string;
+         }
+         leaf key1 {
+            type string;
+         }
+         leaf key2 {
+            type string;
+         }
+         key "key1 key2";
+      }
+   }
+}