blob: 958dc23dad6c8191d3a26562777e66d7fea80448 [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 int32;
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}