config: reinstate #8478 (unification of delta and SotW xDS), reverted by #8939 (#8974)

Signed-off-by: Fred Douglas <fredlas@google.com>

Mirrored from https://github.com/envoyproxy/envoy @ a37522cf3f15639c8afeb7402f505044815fcf85
master-ci-test
data-plane-api(CircleCI) 5 years ago
parent deb3232a86
commit e15d261f9e
  1. 11
      envoy/api/v2/core/config_source.proto
  2. 11
      envoy/api/v3alpha/core/config_source.proto

@ -30,15 +30,12 @@ message ApiConfigSource {
// the v2 protos is used.
REST = 1;
// gRPC v2 API.
// "State of the world" gRPC v2 API, using Discovery{Request,Response} protos.
GRPC = 2;
// Using the delta xDS gRPC service, i.e. DeltaDiscovery{Request,Response}
// rather than Discovery{Request,Response}. Rather than sending Envoy the entire state
// with every update, the xDS server only sends what has changed since the last update.
//
// DELTA_GRPC is not yet entirely implemented! Initially, only CDS is available.
// Do not use for other xDSes. TODO(fredlas) update/remove this warning when appropriate.
// "Delta" gRPC v2 API, using DeltaDiscovery{Request,Response} protos.
// Rather than sending Envoy the entire state with every update, the xDS server
// only sends what has changed since the last update.
DELTA_GRPC = 3;
}

@ -30,15 +30,12 @@ message ApiConfigSource {
// the v2 protos is used.
REST = 1;
// gRPC v2 API.
// "State of the world" gRPC v2 API, using Discovery{Request,Response} protos.
GRPC = 2;
// Using the delta xDS gRPC service, i.e. DeltaDiscovery{Request,Response}
// rather than Discovery{Request,Response}. Rather than sending Envoy the entire state
// with every update, the xDS server only sends what has changed since the last update.
//
// DELTA_GRPC is not yet entirely implemented! Initially, only CDS is available.
// Do not use for other xDSes. TODO(fredlas) update/remove this warning when appropriate.
// "Delta" gRPC v2 API, using DeltaDiscovery{Request,Response} protos.
// Rather than sending Envoy the entire state with every update, the xDS server
// only sends what has changed since the last update.
DELTA_GRPC = 3;
}

Loading…
Cancel
Save