Merge "Re-added config.version to config-module-archetype."
[controller.git] / opendaylight / netconf / netconf-cli / src / test / resources / schema-context / model1.yang
1 module model1 {
2   namespace "ns:model1";
3   prefix "mod1";
4
5   revision "2014-05-14" {
6   }
7
8   container cont1 {
9     container cont11 {
10         list lst111 {
11             key lf1111;
12             leaf lf1111 {
13                 type int32;
14             }
15             container cont111 {
16                 leaf lf1112 {
17                     type string;
18                 }
19                 leaf-list lflst1111 {
20                     type int8;
21                 }
22             }
23         }
24     }
25
26     container cont12 {
27         list lst121 {
28             key lf1211;
29             leaf lf1211 {
30                 type string;
31             }
32             list lst1211 {
33                 leaf lf12111 {
34                     type uint8;
35                 }
36                 leaf lf12112 {
37                     type string;
38                 }
39             }
40         }
41         choice chcA {
42             case AA {
43                 leaf lf12AA1 {
44                     type string;
45                 }
46             }
47             case AB {
48                 container cont12AB1 {
49                     leaf lf12AB1 {
50                         type string;
51                     }
52                 }
53             }
54             leaf lf121 { //should be standalone case
55                 type string;
56             }
57         }
58         list lst122 {
59         }
60     }
61   }
62
63   container cont2 {
64     container cont23 {
65     }
66   }
67
68   container contA {
69   }
70
71   container contB {
72   }
73
74 }