Bug 3899: Milestone: Increase test coverage for Yangtools
[yangtools.git] / yang / yang-data-impl / src / test / resources / ordered-list-modification-test.yang
1 module ordered-list-modification-test {
2     namespace "ordered-list-modification-test";
3     prefix "olmt";
4
5     container parent-container {
6         container child-container {
7             list parent-ordered-list {
8                 ordered-by user;
9
10                 key "parent-key-leaf";
11
12                 leaf parent-key-leaf {
13                     type string;
14                 }
15
16                 leaf parent-ordinary-leaf {
17                     type string;
18                 }
19
20                 list child-ordered-list {
21                     ordered-by user;
22
23                     key "child-key-leaf";
24
25                     leaf child-key-leaf {
26                         type string;
27                     }
28
29                     leaf child-ordinary-leaf {
30                         type string;
31                     }
32                 }
33             }
34         }
35     }
36 }