Fix actions in keyed lists
[mdsal.git] / binding / mdsal-binding-generator-impl / src / test / resources / actions.yang
1 module actions {
2     yang-version 1.1;
3     prefix act;
4     namespace "urn:odl:actions";
5
6     container cont {
7         action foo {
8
9         }
10     }
11
12     list lst {
13         key key;
14         leaf key {
15             type string;
16         }
17         action foo {
18
19         }
20     }
21
22     grouping grp {
23         action bar {
24
25         }
26     }
27
28     grouping other {
29         uses grp;
30     }
31
32     container grpcont {
33         uses grp;
34     }
35
36     list grplst {
37         key key;
38         leaf key {
39             type string;
40         }
41         uses grp;
42     }
43
44     container othercont {
45         uses other;
46     }
47 }
48