blob: 580d270355840582c9de0424d834523a069edf36 [file] [log] [blame]
Bharat saraswal61071112016-05-28 09:36:00 +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}