Projects moved under correct parent.
[controller.git] / opendaylight / sal / yang-prototype / yang / yang-model-parser-impl / src / test / resources / context-augment-test / test2.yang
1 module test2 {
2
3     yang-version 1;
4     namespace "urn:simple.demo.test2";
5     prefix "t2";
6
7     import test3 {
8         prefix "t3";
9         revision-date 2013-06-18;
10     }
11
12     import test4 {
13         prefix "t4";
14         revision-date 2013-06-18;
15     }
16
17     organization "opendaylight";
18     contact "WILL-BE-DEFINED-LATER";
19         revision 2013-06-18 {
20     }
21
22     augment "/t4:interfaces/t4:ifEntry/t3:augment-holder" {
23         when "if:ifType='ds0'";
24         leaf ds0ChannelNumber {
25             type string;
26         }
27         leaf interface-id {
28             type leafref {
29                 path "/if:interfaces/if:interface/if:name";
30             }
31         }
32         leaf-list higher-layer-if {
33             type leafref {
34                 path "/if:interfaces/if:interface/if:higher-layer-if";
35             }
36         }
37         container schemas {
38         }
39     }
40
41 }