blob: c59ed74719edd17c0824d62cf363a37f0b33060e [file] [log] [blame]
Vidyashree Ramaa5ba6562017-03-08 11:23:28 +05301module sample {
2 yang-version 1;
3 namespace "samplenamespace";
4 prefix "attr";
5 container top {
6 leaf mtu {
7 type string;
8 }
9 leaf-list color {
10 type string;
11 }
12 list interface {
13 key name;
14 leaf name {
15 type string;
16 }
17 container address {
18 leaf name {
19 type string;
20 }
21 }
22 }
23 }
24 list l1 {
25 config false;
26 container c1 {
27 leaf leaf1 {
28 type string;
29 }
30 leaf-list leaf2 {
31 type string;
32 }
33 }
34 leaf leaf3 {
35 type string;
36 }
37 leaf-list leaf4 {
38 type string;
39 }
40 }
41 list l2 {
42 key k1;
43 leaf k1 {
44 type string;
45 }
46 }
47 leaf leaf5 {
48 type string;
49 }
50 leaf-list leaf6 {
51 type string;
52 }
53}