@@ -17,6 +17,31 @@ option (udpa.annotations.file_status).package_version_status = ACTIVE;
17
17
18
18
// [#protodoc-title: ConfigDump]
19
19
20
+ // Resource status from the view of a xDS client, which tells the synchronization
21
+ // status between the xDS client and the xDS server.
22
+ enum ClientResourceStatus {
23
+ // Resource status is not available/unknown.
24
+ UNKNOWN = 0 ;
25
+
26
+ // Client requested this resource but hasn't received any update from management
27
+ // server. The client will not fail requests, but will queue them until update
28
+ // arrives or the client times out waiting for the resource.
29
+ REQUESTED = 1 ;
30
+
31
+ // This resource has been requested by the client but has either not been
32
+ // delivered by the server or was previously delivered by the server and then
33
+ // subsequently removed from resources provided by the server. For more
34
+ // information, please refer to the :ref:`"Knowing When a Requested Resource
35
+ // Does Not Exist" <xds_protocol_resource_not_existed>` section.
36
+ DOES_NOT_EXIST = 2 ;
37
+
38
+ // Client received this resource and replied with ACK.
39
+ ACKED = 3 ;
40
+
41
+ // Client received this resource and replied with NACK.
42
+ NACKED = 4 ;
43
+ }
44
+
20
45
// The :ref:`/config_dump <operations_admin_interface_config_dump>` admin endpoint uses this wrapper
21
46
// message to maintain and serve arbitrary configuration information from any component in Envoy.
22
47
message ConfigDump {
@@ -114,7 +139,7 @@ message ListenersConfigDump {
114
139
}
115
140
116
141
// Describes a dynamically loaded listener via the LDS API.
117
- // [#next-free-field: 6 ]
142
+ // [#next-free-field: 7 ]
118
143
message DynamicListener {
119
144
option (udpa.annotations.versioning ).previous_message_type =
120
145
"envoy.admin.v2alpha.ListenersConfigDump.DynamicListener" ;
@@ -143,6 +168,10 @@ message ListenersConfigDump {
143
168
// resource along with the reason and timestamp. For successfully updated or
144
169
// acknowledged resource, this field should be empty.
145
170
UpdateFailureState error_state = 5 ;
171
+
172
+ // The client status of this resource.
173
+ // [#not-implemented-hide:]
174
+ ClientResourceStatus client_status = 6 ;
146
175
}
147
176
148
177
// This is the :ref:`version_info <envoy_api_field_service.discovery.v3.DiscoveryResponse.version_info>` in the
@@ -177,6 +206,7 @@ message ClustersConfigDump {
177
206
}
178
207
179
208
// Describes a dynamically loaded cluster via the CDS API.
209
+ // [#next-free-field: 6]
180
210
message DynamicCluster {
181
211
option (udpa.annotations.versioning ).previous_message_type =
182
212
"envoy.admin.v2alpha.ClustersConfigDump.DynamicCluster" ;
@@ -199,6 +229,10 @@ message ClustersConfigDump {
199
229
// acknowledged resource, this field should be empty.
200
230
// [#not-implemented-hide:]
201
231
UpdateFailureState error_state = 4 ;
232
+
233
+ // The client status of this resource.
234
+ // [#not-implemented-hide:]
235
+ ClientResourceStatus client_status = 5 ;
202
236
}
203
237
204
238
// This is the :ref:`version_info <envoy_api_field_service.discovery.v3.DiscoveryResponse.version_info>` in the
@@ -240,6 +274,7 @@ message RoutesConfigDump {
240
274
google.protobuf.Timestamp last_updated = 2 ;
241
275
}
242
276
277
+ // [#next-free-field: 6]
243
278
message DynamicRouteConfig {
244
279
option (udpa.annotations.versioning ).previous_message_type =
245
280
"envoy.admin.v2alpha.RoutesConfigDump.DynamicRouteConfig" ;
@@ -261,6 +296,10 @@ message RoutesConfigDump {
261
296
// acknowledged resource, this field should be empty.
262
297
// [#not-implemented-hide:]
263
298
UpdateFailureState error_state = 4 ;
299
+
300
+ // The client status of this resource.
301
+ // [#not-implemented-hide:]
302
+ ClientResourceStatus client_status = 5 ;
264
303
}
265
304
266
305
// The statically loaded route configs.
@@ -292,7 +331,7 @@ message ScopedRoutesConfigDump {
292
331
google.protobuf.Timestamp last_updated = 3 ;
293
332
}
294
333
295
- // [#next-free-field: 6 ]
334
+ // [#next-free-field: 7 ]
296
335
message DynamicScopedRouteConfigs {
297
336
option (udpa.annotations.versioning ).previous_message_type =
298
337
"envoy.admin.v2alpha.ScopedRoutesConfigDump.DynamicScopedRouteConfigs" ;
@@ -317,6 +356,10 @@ message ScopedRoutesConfigDump {
317
356
// acknowledged resource, this field should be empty.
318
357
// [#not-implemented-hide:]
319
358
UpdateFailureState error_state = 5 ;
359
+
360
+ // The client status of this resource.
361
+ // [#not-implemented-hide:]
362
+ ClientResourceStatus client_status = 6 ;
320
363
}
321
364
322
365
// The statically loaded scoped route configs.
@@ -332,7 +375,7 @@ message SecretsConfigDump {
332
375
"envoy.admin.v2alpha.SecretsConfigDump" ;
333
376
334
377
// DynamicSecret contains secret information fetched via SDS.
335
- // [#next-free-field: 6 ]
378
+ // [#next-free-field: 7 ]
336
379
message DynamicSecret {
337
380
option (udpa.annotations.versioning ).previous_message_type =
338
381
"envoy.admin.v2alpha.SecretsConfigDump.DynamicSecret" ;
@@ -357,6 +400,10 @@ message SecretsConfigDump {
357
400
// acknowledged resource, this field should be empty.
358
401
// [#not-implemented-hide:]
359
402
UpdateFailureState error_state = 5 ;
403
+
404
+ // The client status of this resource.
405
+ // [#not-implemented-hide:]
406
+ ClientResourceStatus client_status = 6 ;
360
407
}
361
408
362
409
// StaticSecret specifies statically loaded secret in bootstrap.
@@ -400,6 +447,7 @@ message EndpointsConfigDump {
400
447
google.protobuf.Timestamp last_updated = 2 ;
401
448
}
402
449
450
+ // [#next-free-field: 6]
403
451
message DynamicEndpointConfig {
404
452
// [#not-implemented-hide:] This is the per-resource version information. This version is currently taken from the
405
453
// :ref:`version_info <envoy_api_field_service.discovery.v3.DiscoveryResponse.version_info>` field at the time that
@@ -418,6 +466,10 @@ message EndpointsConfigDump {
418
466
// acknowledged resource, this field should be empty.
419
467
// [#not-implemented-hide:]
420
468
UpdateFailureState error_state = 4 ;
469
+
470
+ // The client status of this resource.
471
+ // [#not-implemented-hide:]
472
+ ClientResourceStatus client_status = 5 ;
421
473
}
422
474
423
475
// The statically loaded endpoint configs.
0 commit comments