blob: 46a1caf9ce82e97e71f83739fffa8e5040f3eef3 [file] [log] [blame]
jingane308fc12017-03-03 01:47:31 -08001module jsonlist {
2
3 yang-version 1;
4
5 namespace "jsonlist";
6
7 prefix "l";
8
9 organization "ON-LAB";
10
11 description "This module defines for list.";
12
13 revision "2016-06-24" {
14 description "Initial revision.";
15 }
16
17 container top1 {
18 list l1 {
19 key "k1 k2 k3";
20 leaf k1 {
21 type string;
22 }
23
24 leaf k2 {
25 type string;
26 }
27
28 leaf k3 {
29 type string;
30 }
31
32 container c1 {
33 leaf leaf_c1 {
34 type string;
35 }
36 }
37 }
38
39 container c2 {
40 leaf-list leaflist1 {
41 type string;
42 }
43 }
44
45 }
46}