blob: b1b3d0bc1007b9424425f4c4b4797efb8ba1e768 [file] [log] [blame]
sonugupta-huawei711d1e32017-09-14 10:59:08 +05301module listAnydata {
2
3 yang-version 1.1;
4
5 namespace "yrt:list.anydata";
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 anydata mydata {
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 {
35 leaf leaf_c1 {
36 type string;
37 }
38 }
39 anydata mydata {
40 }
41 }
42
43 leaf-list leaf1 {
44 type string;
45 }
46
47 augment "/l:l1/l:c1/" {
48 anydata mydata {
49 }
50 }
51}