Bharat saraswal | 4912077 | 2017-03-10 17:06:10 +0530 | [diff] [blame] | 1 | module YtbEmptyType { |
2 | yang-version 1; | ||||
3 | namespace "yms:test:ytb:empty:type"; | ||||
4 | prefix "data"; | ||||
5 | revision "2016-08-26"; | ||||
6 | typedef emp-type { | ||||
7 | type emp-type2; | ||||
8 | } | ||||
9 | typedef emp-type2 { | ||||
10 | type empty; | ||||
11 | } | ||||
12 | typedef emp-type3 { | ||||
13 | type leafref { | ||||
14 | path "/empty"; | ||||
15 | } | ||||
16 | } | ||||
17 | leaf empty { | ||||
18 | type empty; | ||||
19 | } | ||||
20 | leaf-list empty-list { | ||||
21 | type empty; | ||||
22 | } | ||||
23 | leaf empty-ref { | ||||
24 | type leafref { | ||||
25 | path "/empty"; | ||||
26 | } | ||||
27 | } | ||||
28 | leaf-list empty-list-ref { | ||||
29 | type leafref { | ||||
30 | path "/empty-list"; | ||||
31 | } | ||||
32 | } | ||||
33 | leaf empty-type { | ||||
34 | type emp-type; | ||||
35 | } | ||||
36 | leaf-list empty-list-type { | ||||
37 | type emp-type; | ||||
38 | } | ||||
39 | leaf empty-ref-type { | ||||
40 | type emp-type3; | ||||
41 | } | ||||
42 | leaf-list empty-list-ref-type { | ||||
43 | type emp-type3; | ||||
44 | } | ||||
45 | } |