17daeb89f54163d3aed6b518239687cc72cbcbcd
[mdsal.git] / code-generator / binding-java-api-generator / src / test / resources / compilation / cascade-uses / bar.yang
1 /*
2  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 module bar {
9     yang-version 1;
10     namespace "urn:opendaylight:bar";
11     prefix "bar";
12
13     import baz { prefix bz; revision-date 2013-10-08; }
14
15     revision "2013-10-08" {
16     }
17
18     grouping bar_gr1 {
19         leaf bar1 {
20             type int8;
21         }
22         leaf bar2 {
23             type int16;
24         }
25     }
26
27     grouping bar_gr2 {
28         leaf bar3 {
29             type int32;
30         }
31         uses bar_gr1;
32         uses bz:baz_gr1;
33     }
34
35 }