blob: 956ba50a81ebfa3b2e7bc2f1e1b94aeeef4ef01f [file] [log] [blame]
janani b4e53f9b2016-04-26 18:49:20 +05301module Test {
2 yang-version 1;
3 namespace http://huawei.com;
4 prefix Ant;
5 grouping Percentage {
Gaurav Agrawalcfa1c412016-05-03 00:41:48 +05306 leaf hello{
7 type string;
janani b4e53f9b2016-04-26 18:49:20 +05308 }
9 }
10 container ospf {
11 list valid {
12 key "invalid";
Gaurav Agrawalcfa1c412016-05-03 00:41:48 +053013 leaf invalid{
14 type string;
janani b4e53f9b2016-04-26 18:49:20 +053015 }
16 uses Ant:FirstClass;
17 grouping FirstClass {
18 uses PassingClass;
19 }
20 }
21 grouping PassingClass {
22 uses Ant:Percentage;
23 }
24 }
25}