Add support to report Locality proximity information as part of Load assignment (#6747)

Description: Adding API support to report Locality proximity information as part of Locality Assignment. This does not need to be documented yet, and should be documented as part of LB algorithm implementation which will use this information.

Risk Level: LOW
Testing: None

Signed-off-by: Vishal Powar <vishalpowar@google.com>

Mirrored from https://github.com/envoyproxy/envoy @ 5e039a6581cf5fa1f7b70329afeb2e3d35b8189c
pull/620/head
data-plane-api(CircleCI) 6 years ago
parent 429644f1b4
commit 41cbece321
  1. 8
      envoy/api/v2/endpoint/endpoint.proto

@ -132,4 +132,12 @@ message LocalityLbEndpoints {
//
// Priorities should range from 0 (highest) to N (lowest) without skipping.
uint32 priority = 5 [(validate.rules).uint32 = {lte: 128}];
// Optional: Per locality proximity value which indicates how close this
// locality is from the source locality. This value only provides ordering
// information (lower the value, closer it is to the source locality).
// This will be consumed by load balancing schemes that need proximity order
// to determine where to route the requests.
// [#not-implemented-hide:]
google.protobuf.UInt32Value proximity = 6;
}

Loading…
Cancel
Save