Gaurav Agrawal | d9d6cc8 | 2016-03-29 02:17:23 +0530 | [diff] [blame] | 1 | module 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 | } |