Added getParent() method to DataSchemaNode and DataNodeContainer. Fixed Bugs.
[yangtools.git] / code-generator / binding-java-api-generator / src / test / resources / compilation / augment-uses-to-augment / foo.yang
1 module foo {
2     yang-version 1;
3     namespace "urn:opendaylight.foo";
4     prefix "foo";
5
6     import bar {
7         prefix "br";
8         revision-date 2013-10-08;
9     }
10
11     revision "2013-10-08" {
12     }
13
14
15     augment "/br:network-topology/br:topology/br:link" {
16         uses igp-link-attributes;
17     }
18
19     grouping igp-link-attributes {
20         container igp-link-attributes {
21             leaf name {
22                 type string;
23             }
24             leaf-list flag {
25                 type string;
26             }
27             leaf metric {
28                 type uint32 {
29                     range "0..16777215"  {
30                     }
31                 }
32             }
33         }
34     }
35
36 }