Split Restconf implementations (draft02 and RFC) - tests
[netconf.git] / restconf / restconf-nb-rfc8040 / src / test / resources / invoke-rpc / invoke-rpc-module.yang
diff --git a/restconf/restconf-nb-rfc8040/src/test/resources/invoke-rpc/invoke-rpc-module.yang b/restconf/restconf-nb-rfc8040/src/test/resources/invoke-rpc/invoke-rpc-module.yang
new file mode 100644 (file)
index 0000000..c23c50a
--- /dev/null
@@ -0,0 +1,29 @@
+module invoke-rpc-module {
+  namespace "invoke:rpc:module";
+
+  prefix "inrpcmod";
+
+  revision 2013-12-3 {
+
+  }
+
+  rpc rpc-test {
+      input {
+          container cont {
+              leaf lf {
+                  type string;
+              }
+          }
+      }
+      output {
+          container cont-out {
+              leaf lf-out {
+                  type string;
+              }
+          }
+      }
+  }
+
+  rpc rpc-noop {
+  }
+}
\ No newline at end of file