14a39ab290a755d79190e9439d26c2db4d5b3764
[netconf.git] / restconf / restconf-nb / src / test / resources / modules / container.yang
1 module base {
2 namespace "ns";
3 prefix "mod1";
4 revision "2016-02-28";
5
6
7     container cont {
8         leaf exampleLeaf {
9             type string;
10             default "i am leaf";
11         }
12         list exampleList{
13               leaf leafInList{
14                 type string;
15                 default "I am leaf in list";
16               }
17               container containerBool{
18                   leaf leafBool{
19                      type boolean;
20                      default true;
21                   }
22               }
23               container containerInt{
24                   leaf leafInt{
25                      type int8;
26                      default 12;
27                   }
28               }
29         }
30     }
31 }