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