blob: c0a1b69242f01962d7be16644f18179ab3493137 [file] [log] [blame]
sonugupta-huaweice7ff812017-02-13 19:37:20 +05301module list {
2
3 yang-version 1;
4
5 namespace "yrt:list";
6
7 prefix "l";
sonugupta-huawei82d72202017-05-23 12:31:07 +05308 include list2;
9 include list3;
10 include list4;
sonugupta-huaweice7ff812017-02-13 19:37:20 +053011
12 organization "ON-LAB";
13
14 description "This module defines for list.";
15
16 revision "2016-06-24" {
17 description "Initial revision.";
18 }
19
20 list l1 {
21 key "k1 k2 k3";
22 leaf k1 {
23 type string;
24 }
25
26 leaf k2 {
27 type string;
28 }
29
30 leaf k3 {
31 type string;
32 }
33
34 container c1 {
sonugupta-huawei7dd98582017-02-21 21:24:05 +053035 leaf leaf_c1 {
sonugupta-huaweice7ff812017-02-13 19:37:20 +053036 type string;
37 }
38 }
39 }
sonugupta-huawei4bf7c8a2017-02-15 00:25:04 +053040
41 leaf-list leaf1 {
42 type string;
43 }
sonugupta-huaweice7ff812017-02-13 19:37:20 +053044}