ekinzie | 0ab8b30 | 2022-10-10 03:03:57 -0400 | [diff] [blame] | 1 | module sm-main { |
2 | yang-version 1.1; | ||||
3 | namespace "urn:sm-main"; | ||||
4 | prefix "sm-main"; | ||||
5 | |||||
6 | import ietf-yang-schema-mount { | ||||
7 | prefix yangmnt; | ||||
8 | } | ||||
9 | import ietf-interfaces { | ||||
10 | prefix if; | ||||
11 | } | ||||
12 | |||||
13 | list root { | ||||
14 | key "node"; | ||||
15 | leaf node { | ||||
16 | type string; | ||||
17 | } | ||||
18 | yangmnt:mount-point "root"; | ||||
19 | } | ||||
20 | container root2 { | ||||
21 | yangmnt:mount-point "root"; | ||||
22 | } | ||||
23 | container root3 { | ||||
24 | list my-list { | ||||
25 | key name; | ||||
26 | leaf name { | ||||
27 | type string; | ||||
28 | } | ||||
29 | yangmnt:mount-point "mnt-root"; | ||||
30 | } | ||||
31 | } | ||||
32 | } |