summaryrefslogtreecommitdiffstats
path: root/sdnr/wt/mountpoint-registrar/model/src/main
diff options
context:
space:
mode:
authorRavi Pendurty <ravi.pendurty@highstreet-technologies.com>2019-12-17 14:30:29 +0100
committerRavi Pendurty <ravi.pendurty@highstreet-technologies.com>2019-12-17 17:46:43 +0100
commitde4fec0391bbf1d838ebc6e18f3f307dc6885319 (patch)
tree19ef4aed89a9a134539ba2770e850907a255048d /sdnr/wt/mountpoint-registrar/model/src/main
parent595457177ac1316c4567c2bf339b4fb0230e85c6 (diff)
App mountpoint-registrar
App mountpoint-registrar Issue-ID: SDNC-1009 Signed-off-by: Ravi Pendurty <ravi.pendurty@highstreet-technologies.com> Change-Id: Idc40dcb2410d4d20f8d3a7943d1f810710ce7f27
Diffstat (limited to 'sdnr/wt/mountpoint-registrar/model/src/main')
-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";
+ }
+ }
+ }
+
+}
+