blob: b6174c71f7f3f1686410ca665d69a84c503066fa [file] [log] [blame]
sonu guptaeff184b2016-11-24 12:43:49 +05301module EmptyLeafList {
2
3 yang-version 1;
4
5 namespace "ydt.Empty.leafList";
6
7 prefix "emptyleaflist";
8
9 organization "ON-LAB";
10
11 description "This module defines for empty leaf list.";
12
13 revision "2016-05-24" {
14 description "Initial revision.";
15 }
16
17 typedef type-def {
18 type leafref {
19 path /l1;
20 }
21 }
22
23 leaf l1 {
24 type empty;
25 }
26
27 leaf l2 {
28 type leafref {
29 path /l1;
30 }
31 }
32
33 leaf l3 {
34 type type-def;
35 }
36
37 leaf-list list1 {
38 type empty;
39 }
40
41 leaf-list list2 {
42 type leafref {
43 path /l1;
44 }
45 }
46
47 leaf-list list3 {
48 type type-def;
49 }
50
51}