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; | ||||
Vinod Kumar S | d4deb06 | 2016-04-15 18:08:57 +0530 | [diff] [blame] | 5 | import ietf-yang-types { |
6 | prefix "P"; | ||||
7 | } | ||||
Gaurav Agrawal | d9d6cc8 | 2016-03-29 02:17:23 +0530 | [diff] [blame] | 8 | 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 | } |