2c796a9acd8e0f4199aebb43bc1a57ed4eaef3bf
[controller.git] / opendaylight / sal / yang-prototype / code-generator / yang-model-parser-impl / src / test / resources / model / testfile1.yang
1 module types1 {
2         yang-version 1;
3     namespace "urn:simple.container.demo";
4     prefix "t1";
5     
6     import types2 {
7          prefix "data";
8          revision-date 2013-02-27;
9      }
10     
11     organization "Cisco";
12     contact "WILL-BE-DEFINED-LATER";
13     
14     revision "2013-02-27" {
15         reference " WILL BE DEFINED LATER";
16     }
17     
18     container interfaces {
19          list ifEntry {
20              key "ifIndex";
21
22              leaf ifIndex {
23                  type uint32;
24                  units minutes;
25              }
26              
27              leaf ifMtu {
28                  type int32;
29              }
30          }
31      }
32      
33         leaf testleaf {
34                 type data:my-base-int32-type {
35                         range "11..max";
36                 }
37         } 
38
39 }