delta-xds: add control_plane to DeltaDiscoveryResponse (v3 up) (#14892)

#14891

Risk Level: LOW (only adding new field)

Signed-off-by: Xin Zhuang <stevenzzz@google.com>
Co-authored-by: Lizan Zhou <lizan@tetrate.io>

Mirrored from https://github.com/envoyproxy/envoy @ d61fdbabbf0010a1769c10a87b63e32969f6efb6
pull/624/head
data-plane-api(Azure Pipelines) 4 years ago
parent cae39a9471
commit 71560da028
  1. 7
      envoy/service/discovery/v3/discovery.proto
  2. 7
      envoy/service/discovery/v4alpha/discovery.proto

@ -105,7 +105,6 @@ message DiscoveryResponse {
// required for non-stream based xDS implementations.
string nonce = 5;
// [#not-implemented-hide:]
// The control plane instance that sent the response.
config.core.v3.ControlPlane control_plane = 6;
}
@ -203,7 +202,7 @@ message DeltaDiscoveryRequest {
google.rpc.Status error_detail = 7;
}
// [#next-free-field: 7]
// [#next-free-field: 8]
message DeltaDiscoveryResponse {
option (udpa.annotations.versioning).previous_message_type =
"envoy.api.v2.DeltaDiscoveryResponse";
@ -228,6 +227,10 @@ message DeltaDiscoveryResponse {
// The nonce provides a way for DeltaDiscoveryRequests to uniquely
// reference a DeltaDiscoveryResponse when (N)ACKing. The nonce is required.
string nonce = 5;
// [#not-implemented-hide:]
// The control plane instance that sent the response.
config.core.v3.ControlPlane control_plane = 7;
}
// [#next-free-field: 8]

@ -106,7 +106,6 @@ message DiscoveryResponse {
// required for non-stream based xDS implementations.
string nonce = 5;
// [#not-implemented-hide:]
// The control plane instance that sent the response.
config.core.v4alpha.ControlPlane control_plane = 6;
}
@ -205,7 +204,7 @@ message DeltaDiscoveryRequest {
google.rpc.Status error_detail = 7;
}
// [#next-free-field: 7]
// [#next-free-field: 8]
message DeltaDiscoveryResponse {
option (udpa.annotations.versioning).previous_message_type =
"envoy.service.discovery.v3.DeltaDiscoveryResponse";
@ -230,6 +229,10 @@ message DeltaDiscoveryResponse {
// The nonce provides a way for DeltaDiscoveryRequests to uniquely
// reference a DeltaDiscoveryResponse when (N)ACKing. The nonce is required.
string nonce = 5;
// [#not-implemented-hide:]
// The control plane instance that sent the response.
config.core.v4alpha.ControlPlane control_plane = 7;
}
// [#next-free-field: 8]

Loading…
Cancel
Save