Populate data/ hierarchy
[yangtools.git] / yang / yang-model-export / src / test / resources / bugs / bug2444 / yang / action.yang
1 module action {
2     namespace action;
3     prefix ac;
4     yang-version 1.1;
5
6     feature my-feature-1;
7     feature my-feature-2;
8
9     container root {
10         action a {
11             if-feature "my-feature-1 or my-feature-2";
12             status deprecated;
13             description "decs";
14             reference "ref";
15             typedef my-type {
16                 type string;
17             }
18             grouping my-grp {
19                 container con-in-grp {
20                 }
21             }
22             input {
23                 container i {
24                 }
25             }
26             output {
27                 container o {
28                 }
29             }
30             ac:my-ext "arg-val";
31         }
32     }
33     
34     extension my-ext {
35         argument my-arg;
36     }
37 }