summaryrefslogtreecommitdiffstats
path: root/sdnr/wt/mountpoint-registrar/model/src/main/yang/mountpoint-registrar.yang
blob: f3f97aab1ea62dce8985998720798486e57bd3e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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";
            }
        }
    }

}