blob: 038c7de50b2a6bdb6954ae2ee4298ccc715d6e0a [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 Ant:FirstClass;
13 }
14 typedef FirstClass {
15 type P:PassingClass;
16 }
17 }
18 typedef PassingClass {
19 type Ant:Percentage;
20 }
21 }
22}