blob: 2ff07dc3ff1d15c7fc1ba9de00a2601a8ca6071d [file] [log] [blame]
Bharat saraswala542a362017-03-02 21:43:59 +05301module list {
2
3 yang-version 1;
4
5 namespace "yrt:list";
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 list l1 {
18 key "k1 k2 k3";
19 leaf k1 {
20 type string;
21 }
22
23 leaf k2 {
24 type string;
25 }
26
27 leaf k3 {
28 type string;
29 }
30
31 container c1 {
32 leaf leaf_c1 {
33 type string;
34 }
35 }
36 }
37
38 leaf-list leaf1 {
39 type string;
40 }
41}