@@ -34,6 +34,12 @@ module openconfig-gnsi-pathz {
34
34
35
35
oc-ext:openconfig-version "0.3.0" ;
36
36
37
+ revision 2025 -04 -15 {
38
+ description
39
+ "Refactor gnsi counters to be only per policy." ;
40
+ reference "0.4.0" ;
41
+ }
42
+
37
43
revision 2024 -02 -13 {
38
44
description
39
45
"Major style updates and move to openconfig/public from openconfig/gnsi.
@@ -109,62 +115,43 @@ module openconfig-gnsi-pathz {
109
115
description
110
116
"A collection of counters collected by the gNSI.pathz module." ;
111
117
112
- container gnmi-pathz-policy-counters {
113
- config false ;
114
- description
115
- "A collection of per-OpenConfig path counters." ;
116
-
117
- uses gnmi-pathz-policy-xpath-success-failure-counters;
118
- }
119
- }
120
-
121
- grouping gnmi-pathz-policy-xpath-success-failure-counters {
122
- description
123
- "A collection of per-OpenConfig path counters." ;
124
-
125
- container paths {
118
+ container policy {
126
119
description
127
- "Container for a collection of per-OpenConfig path counters." ;
120
+ "Container for a collection of per-Pathz policy counters." ;
128
121
129
- list path {
122
+ list policy {
130
123
description
131
- "List for a collection of per-OpenConfig path counters." ;
124
+ "List for a collection of per-Pathz policy counters." ;
132
125
key "name" ;
133
126
leaf name {
134
127
type leafref {
135
128
path "../state/name" ;
136
129
}
137
130
description
138
- "A OpenConfig schema path the counter were
139
- collected for.
140
-
141
- For documentation on the naming of paths, see
142
- https://github.com/openconfig/reference/blob/master/rpc/gnmi/gnmi-path-conventions.md" ;
131
+ "A OpenConfig Pathz policy the counters were
132
+ collected for." ;
143
133
}
144
134
container state {
145
135
description
146
- "Operational state for per-OpenConfig path counters." ;
136
+ "Operational state for per-Pathz policy counters." ;
147
137
leaf name {
148
138
type string ;
149
139
description
150
- "A OpenConfig schema path the counter were
151
- collected for.
152
-
153
- For documentation on the naming of paths, see
154
- https://github.com/openconfig/reference/blob/master/rpc/gnmi/gnmi-path-conventions.md" ;
140
+ "A per-Pathz policy the counters were
141
+ collected for." ;
155
142
}
156
143
container reads {
157
144
description
158
145
"The counter were collected while
159
- performing a read operation on the
160
- schema path ." ;
146
+ performing a read operations on the
147
+ policy ." ;
161
148
uses counters;
162
149
}
163
150
container writes {
164
151
description
165
152
"The counter were collected while
166
- performing a write operation on the
167
- schema path ." ;
153
+ performing a write operations on the
154
+ policy ." ;
168
155
uses counters;
169
156
}
170
157
}
0 commit comments