blob: b6e3b45c594861e2b7fbdb67e6f2765528af6c12 [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 import ietf-yang-types {
6 prefix "P";
7 }
8 grouping Percentage {
9 leaf hello{
Gaurav Agrawalcfa1c412016-05-03 00:41:48 +053010 type string;
janani b4e53f9b2016-04-26 18:49:20 +053011 }
12 }
13 container ospf {
14 list valid {
15 key "invalid";
Gaurav Agrawalcfa1c412016-05-03 00:41:48 +053016 leaf invalid{
17 type string;
janani b4e53f9b2016-04-26 18:49:20 +053018 }
19 uses Ant:FirstClass;
20 grouping FirstClass {
21 uses P:PassingClass;
22 }
23 }
24 grouping PassingClass {
25 uses Ant:Percentage;
26 }
27 }
28}