Fix CDS unit test failures
[controller.git] / opendaylight / md-sal / sal-distributed-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         leaf name {
12             type string;
13         }
14
15         leaf desc {
16             type string;
17         }
18
19         list outer-list {
20             key id;
21             leaf id {
22                 type uint16;
23             }
24             choice outer-choice {
25                 case one {
26                     leaf one {
27                         type string;
28                     }
29                 }
30                 case two-three {
31                     leaf two {
32                         type string;
33                     }
34                     leaf three {
35                         type string;
36                     }
37                }
38            }
39            list inner-list {
40                 key name;
41                 leaf name {
42                     type string;
43                 }
44                 leaf value {
45                     type string;
46                 }
47             }
48         }
49     }
50     
51     container test2 {
52     }
53 }