8c73b51a49ac06bd51f89bd7529354d7d99255ef
[controller.git] / opendaylight / sal / yang-prototype / code-generator / yang-model-parser-impl / src / test / resources / yang2.yang
1 module types2 {
2         yang-version 1;
3     namespace "urn:simple.types.data.demo";
4     prefix "t2";
5     
6     import types1 {
7          prefix "if";
8      }
9
10     organization "Cisco";
11
12     contact "WILL-BE-DEFINED-LATER";
13
14     description "This is types-data test description";
15
16     revision "2013-02-27" {
17         reference " WILL BE DEFINED LATER";
18     }
19     
20     
21      augment "/if:interfaces/if:ifEntry" {
22          when "if:ifType='ds0'";
23          leaf ds0ChannelNumber {
24              type string;
25          }
26      }
27 }