7370e12df85a13bc7b7f4c6c0419f63920a9a81d
[yangtools.git] / yang / yang-parser-impl / src / test / resources / augment-to-extension-test / incorrect-path / augment-module.yang
1 module augment-module {
2     yang-version 1;
3     namespace "uri:augment-module";
4     prefix aug;
5
6     import extension-module { prefix ext; }
7
8     revision 2014-10-07 {
9         description
10                 "Yang model with augment into extension";
11     }
12
13     grouping my-grouping {
14         ext:my-extension my-extension-name {
15             description
16                         "Extension.";
17             input {
18                 leaf my-leaf {
19                     type string;
20                     description
21                                         "my-leaf in extension body.";
22                 }
23             }
24         }
25         container my-container-in-gruping {
26         }
27     }
28
29     container my-container {
30         uses my-grouping {
31             augment "my-extension-name-a/input" {
32                 leaf-list my-leaf-list {
33                     type string;
34                 }
35             }
36         }
37     }
38 }
39