blob: a3e43793fc8557b83aacbad34aafe09daa46402c [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 P:Per;
10 }
11 container ospf {
12 list valid {
13 key "invalid-interval";
14 leaf invalid-interval {
15 type FirstClass;
16 }
17 typedef FirstClass {
18 type PassingClass;
19 }
20 }
21 typedef PassingClass {
22 type Percentage;
23 }
24 }
25}