Fix for Bug 123.
[yangtools.git] / code-generator / binding-java-api-generator / src / test / resources / compilation / augment-uses-to-augment / bar.yang
1 module bar {
2     yang-version 1;
3     namespace "urn:opendaylight.bar";
4     prefix "bar";
5
6     revision "2013-10-08" {
7     }
8
9     container network-topology {
10         list topology {
11             key "topology-id";
12             leaf topology-id {
13                 type int32;
14             }
15             uses link;
16         }
17     }
18
19     grouping link {
20         list link {
21             key "link-id";
22             uses link-attributes;
23         }
24     }
25
26     grouping link-attributes {
27         leaf link-id {
28             type int8;
29         }
30     }
31
32 }