blob: 2214cf609c1cfbfd61a6e0d8054d033982ecdb4c [file] [log] [blame]
ekinzie0ab8b302022-10-10 03:03:57 -04001module sm-extension {
2 yang-version 1.1;
3 namespace "urn:sm-ext";
4 prefix "sm-ext";
5
6 import ietf-interfaces {
7 prefix if;
8 }
9 import sm-mod {
10 prefix sm-mod;
11 }
12
13 revision 2022-09-15 {
14 description
15 "initial";
16 reference
17 "";
18 }
19
20 list things {
21 key "name";
22 leaf name {
23 type leafref {
24 path "/if:interfaces/if:interface/if:name";
25 }
26 }
27 leaf attribute {
28 type uint32;
29 }
30 }
31
32 augment "/if:interfaces/if:interface" {
33 leaf thing-attribute {
34 type leafref {
35 path "/things/attribute";
36 }
37 }
38 }
39}