blob: 3da9c9a05fb2066b79f4d59ae1abee719abf394f [file] [log] [blame]
Michal Vaskoddd76592022-01-17 13:34:48 +01001module sm {
2 yang-version 1.1;
3 namespace "urn:sm";
4 prefix "sm";
5
6 import ietf-yang-schema-mount {
7 prefix yangmnt;
8 }
9 import ietf-interfaces {
10 prefix if;
11 }
12
13 container root {
14 yangmnt:mount-point "root";
15 }
16 container root2 {
17 yangmnt:mount-point "root";
18 }
19 container root3 {
20 list ls {
21 key name;
22 leaf name {
23 type string;
24 }
Michal Vasko61ad1ff2022-02-10 15:48:39 +010025 yangmnt:mount-point "mnt-root";
Michal Vaskoddd76592022-01-17 13:34:48 +010026 }
27 }
28 leaf target {
29 type string;
30 }
31
32 augment /if:interfaces/if:interface {
33 leaf sm-name {
34 type leafref {
35 path "/sm:target";
36 }
37 }
38 }
39}