aboutsummaryrefslogtreecommitdiffstats
path: root/sdnr/wt/mountpoint-registrar/model/src/main/yang
diff options
context:
space:
mode:
Diffstat (limited to 'sdnr/wt/mountpoint-registrar/model/src/main/yang')
-rw-r--r--sdnr/wt/mountpoint-registrar/model/src/main/yang/mountpoint-registrar.yang41
1 files changed, 41 insertions, 0 deletions
diff --git a/sdnr/wt/mountpoint-registrar/model/src/main/yang/mountpoint-registrar.yang b/sdnr/wt/mountpoint-registrar/model/src/main/yang/mountpoint-registrar.yang
new file mode 100644
index 000000000..f3f97aab1
--- /dev/null
+++ b/sdnr/wt/mountpoint-registrar/model/src/main/yang/mountpoint-registrar.yang
@@ -0,0 +1,41 @@
+module mountpoint-registrar {
+
+ yang-version 1;
+ namespace "urn:opendaylight:params:xml:ns:yang:mountpoint-registrar";
+ prefix "mountpoint-registrar";
+
+ description
+ "mountpoint-registrar Api Module";
+
+ revision "2019-09-21" {
+ description
+ "Initial revision";
+ }
+
+ rpc test {
+ description
+ "Test RPC that could be used by mountpoint-registrar-provider";
+ input{
+ leaf name {
+ mandatory true;
+ type string;
+ description "name for test";
+ }
+ leaf test-date {
+ mandatory true;
+ type string;
+ description "date for the test";
+ }
+
+ }
+ output {
+ leaf result-string {
+ mandatory true;
+ type string;
+ description "Description for testing";
+ }
+ }
+ }
+
+}
+