Add simple rpc and some cleanups
Change-Id: Ia779f9ee899fabfe5b685124f8c3b7c28a1110bb
diff --git a/tests/utests/netconf/yang/basic-rpc.yang b/tests/utests/netconf/yang/basic-rpc.yang
new file mode 100644
index 0000000..334c227
--- /dev/null
+++ b/tests/utests/netconf/yang/basic-rpc.yang
@@ -0,0 +1,28 @@
+module basic-rpc {
+ namespace "urn:acme:yang:basic";
+ prefix "basic";
+
+ leaf my-id {
+ type uint8;
+ }
+ leaf my-name {
+ type string;
+ }
+ leaf my-status {
+ type boolean;
+ config false;
+ }
+
+ rpc do-something {
+ input {
+ leaf my-input {
+ type string;
+ }
+ }
+ output {
+ leaf my-output {
+ type string;
+ }
+ }
+ }
+}