blob: 580d270355840582c9de0424d834523a069edf36 [file] [log] [blame]
janani bdd1314f2016-05-19 17:39:50 +05301module Test {
2 yang-version 1;
3 namespace http://huawei.com;
4 prefix Ant;
5 import ietf-yang-types {
6 prefix "P";
7 }
8 grouping Percentage {
9 leaf hello{
10 type string;
11 }
12 leaf invalid1{
13 type string;
14 }
15 }
16 leaf invalid2{
17 type string;
18 }
19 }
20 container ospf {
21 list valid {
22 key "invalid";
23 leaf invalid{
24 type string;
25 }
26 uses Ant:FirstClass;
27 grouping FirstClass {
28 uses P:PassingClass;
29 }
30 }
31 grouping PassingClass {
32 uses Ant:Percentage;
33 }
34 }
35}