commit | 23049a51fb05fc4208be90f0840549ed8c1dfe53 | [log] [tgz] |
---|---|---|
author | aPiecek <piecek@cesnet.cz> | Wed Apr 19 09:22:55 2023 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Fri Jun 02 15:48:29 2023 +0200 |
tree | a65e246f16d96a0004e2159b88adc8048e223646 | |
parent | 6ff46714af79345f3a95725a1928db00d5668dfc [diff] [blame] |
yanglint TEST for option --type notif
diff --git a/tools/lint/tests/modules/modnotif.yang b/tools/lint/tests/modules/modnotif.yang new file mode 100644 index 0000000..a2155a0 --- /dev/null +++ b/tools/lint/tests/modules/modnotif.yang
@@ -0,0 +1,19 @@ +module modnotif { + yang-version 1.1; + namespace "urn:yanglint:modnotif"; + prefix mn; + + container con { + notification nfn { + leaf lf { + type string; + } + } + } + + notification nfg { + leaf lf { + type string; + } + } +}