Initial opendaylight infrastructure commit!!
[controller.git] / opendaylight / sal / yang-prototype / code-generator / yang-model-parser-impl / src / test / resources / yang3.yang
1 module types3 {
2         yang-version 1;
3     namespace "urn:simple.types3.data.demo";
4     prefix "scd";
5
6     organization "Cisco";
7
8     contact "WILL-BE-DEFINED-LATER";
9
10     description "This is types-data test description";
11
12     revision "2013-02-27" {
13         reference " WILL BE DEFINED LATER";
14     }
15     
16     typedef my-decimal {
17          type decimal64 {
18                 fraction-digits 2;
19          }
20     }
21
22         typedef my-base-int32-type {
23          type int32 {
24                 range "0..32";
25          }
26     }
27     
28     typedef percent {
29          type uint8 {
30              range "0 .. 100";
31          }
32          description "Percentage";
33         }
34         
35 }