summaryrefslogtreecommitdiffstats
path: root/tools/lint/examples/sm-mod.yang
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lint/examples/sm-mod.yang')
-rw-r--r--tools/lint/examples/sm-mod.yang21
1 files changed, 21 insertions, 0 deletions
diff --git a/tools/lint/examples/sm-mod.yang b/tools/lint/examples/sm-mod.yang
new file mode 100644
index 0000000..79d1a50
--- /dev/null
+++ b/tools/lint/examples/sm-mod.yang
@@ -0,0 +1,21 @@
+module sm-mod {
+ yang-version 1.1;
+ namespace "urn:yanglint:sm-mod";
+ prefix "sm-mod";
+
+ revision 2017-01-26 {
+ description
+ "initial";
+ reference
+ "";
+ }
+
+ container not-compiled {
+ leaf first {
+ type string;
+ }
+ leaf second {
+ type string;
+ }
+ }
+}