Fix bug 2821 - restconf RPC parsing returns http status 500
[controller.git] / opendaylight / md-sal / sal-rest-connector / src / test / resources / invoke-rpc / invoke-rpc-module.yang
index 208c2164d506530f00b0cfd0a000325da447390e..ad4883c064a6816f5fda4afe156c194ffbb1b8f9 100644 (file)
@@ -8,13 +8,20 @@ module invoke-rpc-module {
   }
 
   rpc rpc-test {
-    input {
-        container cont {
-            leaf lf {
-                type string;
-            }
-        }
-    }
+      input {
+          container cont {
+              leaf lf {
+                  type string;
+              }
+          }
+      }
+      output {
+          container cont-out {
+              leaf lf-out {
+                  type string;
+              }
+          }
+      }
   }  
 
   rpc rpc-noop {