Specialize relative leafref types during instantiation
[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     list lstio {
27         key keyio;
28         leaf keyio {
29             type string;
30         }
31         action fooio {
32             input {
33                 leaf fooi {
34                     type string;
35                 }
36             }
37             output {
38                 leaf fooo {
39                     type string;
40                 }
41             }
42         }
43     }
44
45     grouping grp {
46         action bar {
47             output {
48                 leaf xyzzy {
49                     type string;
50                 }
51             }
52         }
53     }
54
55     grouping other {
56         uses grp;
57     }
58
59     container grpcont {
60         uses grp;
61     }
62
63     list grplst {
64         key key;
65         leaf key {
66             type string;
67         }
68         uses grp;
69     }
70
71     container othercont {
72         uses other;
73     }
74 }
75