blob: 35c28b6a5e3654d72ac469e4927b6019cdb4b389 [file] [log] [blame]
Gaurav Agrawald9d6cc82016-03-29 02:17:23 +05301module Test {
2 yang-version 1;
3 namespace http://huawei.com;
4 prefix Ant;
5 typedef Percentage {
6 type P:Per;
7 }
8 container ospf {
9 list valid {
10 key "invalid-interval";
11 leaf invalid-interval {
12 type FirstClass;
13 }
14 typedef FirstClass {
15 type PassingClass;
16 }
17 }
18 typedef PassingClass {
19 type Percentage;
20 }
21 }
22}