sonugupta-huawei | 82d7220 | 2017-05-23 12:31:07 +0530 | [diff] [blame] | 1 | submodule list2 { |
2 | |||||
3 | yang-version 1; | ||||
4 | belongs-to "list"{ | ||||
5 | prefix l1; | ||||
6 | } | ||||
7 | include list3; | ||||
8 | organization "ON-LAB"; | ||||
9 | |||||
10 | description "This module defines for list."; | ||||
11 | |||||
12 | revision "2016-06-24" { | ||||
13 | description "Initial revision."; | ||||
14 | } | ||||
15 | |||||
16 | list l2 { | ||||
17 | key "k1"; | ||||
18 | leaf k1 { | ||||
19 | type string; | ||||
20 | } | ||||
21 | |||||
22 | container c1 { | ||||
23 | leaf leaf_c1 { | ||||
24 | type string; | ||||
25 | } | ||||
26 | } | ||||
27 | } | ||||
28 | |||||
29 | leaf-list leaf2 { | ||||
30 | type string; | ||||
31 | } | ||||
32 | } |