Fix actions in keyed lists
[mdsal.git] / binding / mdsal-binding-test-model / src / main / yang / 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             input {
9                 leaf xyzzy {
10                     type string;
11                 }
12             }
13         }
14     }
15
16     list lst {
17         key key;
18         leaf key {
19             type string;
20         }
21         action foo {
22
23         }
24     }
25
26     grouping grp {
27         action bar {
28             output {
29                 leaf xyzzy {
30                     type string;
31                 }
32             }
33         }
34     }
35
36     grouping other {
37         uses grp;
38     }
39
40     container grpcont {
41         uses grp;
42     }
43
44     list grplst {
45         key key;
46         leaf key {
47             type string;
48         }
49         uses grp;
50     }
51
52     container othercont {
53         uses other;
54     }
55 }
56