Adjust test suite parser update to conform with API changes
[yangtools.git] / yang / yang-parser-rfc7950 / src / test / resources / sal-broker-impl / opendaylight-md-sal-common.yang
1 module opendaylight-md-sal-common {\r
2     yang-version 1;\r
3     namespace "urn:opendaylight:params:xml:ns:yang:controller:md:sal:common";\r
4     prefix "md-sal-common";\r
5 \r
6     description\r
7         "Common definition for MD-SAL.";\r
8 \r
9     revision "2013-10-28" {\r
10         description\r
11                 "Initial revision";\r
12     }\r
13 \r
14     grouping rpc-routing-table {\r
15 \r
16         leaf routing-context {\r
17             type string;\r
18         }\r
19         list routes {\r
20             leaf path {\r
21                 type string;\r
22             }\r
23             leaf destination {\r
24                 type string;\r
25             }\r
26         }\r
27     }\r
28 \r
29     grouping rpc-router {\r
30         leaf module {\r
31             type string;\r
32         }\r
33         container routing-tables {\r
34             list routing-table {\r
35                 uses rpc-routing-table;\r
36             }\r
37         }\r
38     }\r
39 \r
40     grouping rpc-state {\r
41         list rpc-router {\r
42             uses rpc-router;\r
43         }\r
44     }\r
45 \r
46     grouping notification-state {\r
47         container notifications {\r
48             leaf published {\r
49                 type uint32;\r
50             }\r
51         }\r
52     }\r
53 \r
54     grouping data-state {\r
55         container transactions {\r
56             leaf created {\r
57                 type uint32;\r
58             }\r
59             leaf submitted {\r
60                 type uint32;\r
61             }\r
62             leaf successful {\r
63                 type uint32;\r
64             }\r
65             leaf failed {\r
66                 type uint32;\r
67             }\r
68         }\r
69     }\r
70 }\r