summaryrefslogtreecommitdiff
path: root/grpc/src/proto/grpc/testing/xds/v3/endpoint.proto
diff options
context:
space:
mode:
Diffstat (limited to 'grpc/src/proto/grpc/testing/xds/v3/endpoint.proto')
-rw-r--r--grpc/src/proto/grpc/testing/xds/v3/endpoint.proto11
1 files changed, 11 insertions, 0 deletions
diff --git a/grpc/src/proto/grpc/testing/xds/v3/endpoint.proto b/grpc/src/proto/grpc/testing/xds/v3/endpoint.proto
index 7cc1d40c..7cbea7f4 100644
--- a/grpc/src/proto/grpc/testing/xds/v3/endpoint.proto
+++ b/grpc/src/proto/grpc/testing/xds/v3/endpoint.proto
@@ -76,6 +76,17 @@ message LbEndpoint {
// Optional health status when known and supplied by EDS server.
HealthStatus health_status = 2;
+
+ // The optional load balancing weight of the upstream host; at least 1.
+ // Envoy uses the load balancing weight in some of the built in load
+ // balancers. The load balancing weight for an endpoint is divided by the sum
+ // of the weights of all endpoints in the endpoint's locality to produce a
+ // percentage of traffic for the endpoint. This percentage is then further
+ // weighted by the endpoint's locality's load balancing weight from
+ // LocalityLbEndpoints. If unspecified, each host is presumed to have equal
+ // weight in a locality. The sum of the weights of all endpoints in the
+ // endpoint's locality must not exceed uint32_t maximal value (4294967295).
+ google.protobuf.UInt32Value load_balancing_weight = 4;
}
// A group of endpoints belonging to a Locality.