Implemented use of ChildOf interface in generated classes.
[yangtools.git] / code-generator / binding-java-api-generator / src / test / resources / compilation / augment-of-augment / baz.yang
1 module baz {
2     yang-version 1;
3     namespace "urn:opendaylight:baz";
4     prefix "baz";
5
6     import foo { prefix fo; revision-date 2013-10-08; }
7     import bar { prefix br; revision-date 2013-10-08; }
8
9     revision "2013-10-08" {
10     }
11
12     augment "/fo:update/fo:path-attributes/br:mp-unreach-nlri/br:withdrawn-routes/br:destination-type" {
13         case destination-linkstate {
14             uses linkstate-destination;
15             container links {
16                 container source {
17                     container address {}
18                 }
19             }
20         }
21     }
22
23     grouping linkstate-destination {
24         leaf nlri-type {
25             type string;
26         }
27         leaf protocol-id {
28             type string;
29         }
30     }
31
32 }