BUG 1330 - list key counts|values diff in payload and URI
[controller.git] / opendaylight / md-sal / sal-rest-connector / src / test / resources / full-versions / test-module / test-module
1 module test-module {
2   namespace "test:module";
3   prefix tstmod;
4
5   revision 2014-01-09 {
6   }
7
8   container interfaces {
9     container class {
10         leaf name {
11             type string;
12         }
13         leaf address {
14             type string;
15         }
16         leaf email {
17             type string;
18         }
19     }
20   }
21
22   container cont {
23     container cont1 {
24         leaf lf11 {
25             type string;
26         }
27         leaf lf12 {
28             type string;
29         }
30     }
31     list lst1 {
32         key "lf11";
33         leaf lf11 {
34             type string;
35         }
36     }
37   }
38   
39   list lst-with-composite-key {
40     key "key1 key2";
41     leaf key1 {
42         type string;
43     }
44     leaf key2 {
45         type uint8;
46     }
47   }
48
49   rpc rpc-test {
50     input {
51       container cont {
52         container cont1 {
53             leaf lf11 {
54                 type string;
55             }
56             leaf lf12 {
57                 type string;
58             }
59         }
60       }
61     }
62     output {
63         container cont-output {
64         }
65     }
66   }
67 }