Merge "Bug 499: Initial implementation of data tree modifications"
[controller.git] / opendaylight / md-sal / sal-dom-broker / 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                 key name;
33                 leaf name {
34                     type string;
35                 }
36                 leaf value {
37                     type string;
38                 }
39             }
40         }
41     }
42 }