blob: 84236a29e532f1b7530c6380bb1637f7b9330ed3 [file] [log] [blame]
janani b06eca9b2016-04-26 18:49:20 +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 }
13 container ospf {
14 list valid {
15 key "invalid";
16 leaf invalid{
17 type String;
18 }
19 uses Ant:FirstClass;
20 grouping FirstClass {
21 uses P:PassingClass;
22 }
23 }
24 grouping PassingClass {
25 uses Ant:Percentage;
26 }
27 }
28}