Cleaned up sal-dom-* packages and removed legacy interfaces
[mdsal.git] / dom / mdsal-dom-inmemory-datastore / src / test / resources / odl-datastore-test.yang
1 module odl-datastore-test {
2     yang-version 1;
3     namespace "urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:store:test";
4     prefix "store-test";
5     
6     revision "2014-03-13" {
7         description "Initial revision.";
8     }
9
10     container test {
11         list outer-list {
12             key id;
13             leaf id {
14                 type uint16;
15             }
16             choice outer-choice {
17                 case one {
18                     leaf one {
19                         type string;
20                     }
21                 }
22                 case two-three {
23                     leaf two {
24                         type string;
25                     }
26                     leaf three {
27                         type string;
28                     }
29                }
30            }
31            list inner-list {
32                 ordered-by user;
33                 key name;
34                 leaf name {
35                     type string;
36                 }
37                 leaf value {
38                     type string;
39                 }
40             }
41         }
42     }
43 }