blob: d5f346ea1d94b98ec07bc4d0044cc9fb4df6aea5 [file] [log] [blame]
Gaurav Agrawald9d6cc82016-03-29 02:17:23 +05301module Test {
2 yang-version 1;
3 namespace http://huawei.com;
4 prefix Ant;
Vinod Kumar Sd4deb062016-04-15 18:08:57 +05305 import ietf-yang-types {
6 prefix "P";
7 }
Gaurav Agrawald9d6cc82016-03-29 02:17:23 +05308 typedef Percentage {
9 type int32;
10 }
11 container ospf {
12 list valid {
13 key "invalid-interval";
14 leaf invalid-interval {
15 type Ant:FirstClass;
16 }
17 typedef FirstClass {
18 type P:PassingClass;
19 }
20 }
21 typedef PassingClass {
22 type Ant:Percentage;
23 }
24 }
25}