summaryrefslogtreecommitdiffstats
path: root/tests/yanglint/modules/modrpc.yang
diff options
context:
space:
mode:
Diffstat (limited to 'tests/yanglint/modules/modrpc.yang')
-rw-r--r--tests/yanglint/modules/modrpc.yang19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/yanglint/modules/modrpc.yang b/tests/yanglint/modules/modrpc.yang
new file mode 100644
index 0000000..dc0cced
--- /dev/null
+++ b/tests/yanglint/modules/modrpc.yang
@@ -0,0 +1,19 @@
+module modrpc {
+ namespace "urn:yanglint:modrpc";
+ prefix mr;
+
+ rpc rpc {
+ input {
+ leaf lfi {
+ type string;
+ }
+ }
+ output {
+ container con {
+ leaf lfo {
+ type int16;
+ }
+ }
+ }
+ }
+}