File tree Expand file tree Collapse file tree 2 files changed +16
-19
lines changed
src/sonic-yang-models/yang-models Expand file tree Collapse file tree 2 files changed +16
-19
lines changed Original file line number Diff line number Diff line change @@ -44,13 +44,10 @@ module sonic-extension {
44
44
argument "value" ;
45
45
}
46
46
47
- extension map-list {
48
- description "If it is a map list" ;
49
- argument "value" ;
50
- }
51
-
52
47
extension map-leaf {
53
- description "Map leaf names" ;
48
+ description
49
+ "Extension to indicate nested list and specify fields
50
+ mappings which are keys of inner list" ;
54
51
argument "value" ;
55
52
}
56
53
@@ -61,7 +58,7 @@ module sonic-extension {
61
58
62
59
extension dependent-on {
63
60
description
64
- "Entension to define dependency on other table. During create/update,
61
+ "Extension to define dependency on other table. During create/update,
65
62
operation will be performed first on parent table and then on this table.
66
63
In delete operation, this table will be deleted first and then parent table.
67
64
This extension can be defined only under list. Table name should always
Original file line number Diff line number Diff line change @@ -148,16 +148,16 @@ module sonic-types {
148
148
"Integer indicating a percentage value" ;
149
149
}
150
150
151
- // Defined as container because it will be used as xpath in MUST/WHEN
152
- // expressions in yang.
153
- container operation {
154
- leaf operation {
155
- type enumeration {
156
- enum CREATE;
157
- enum UPDATE;
158
- enum DELETE;
159
- }
160
- }
161
- description "Sonic data operation types required during validation" ;
162
- }
151
+ // Defined as container because it will be used as xpath in MUST/WHEN
152
+ // expressions in yang.
153
+ container operation {
154
+ leaf operation {
155
+ type enumeration {
156
+ enum CREATE;
157
+ enum UPDATE;
158
+ enum DELETE;
159
+ }
160
+ }
161
+ description "Sonic data operation types required during validation" ;
162
+ }
163
163
}
You can’t perform that action at this time.
0 commit comments