dlb: support fallback (#27985)

* dlb: support fallback

Signed-off-by: Loong <loong.dai@intel.com>

Mirrored from https://github.com/envoyproxy/envoy @ 8a4cf41e72a201b463361be4aec4e30baf853fa2
main
update-envoy[bot] 1 year ago
parent 93f312d95b
commit 6f7dc91f84
  1. 15
      contrib/envoy/extensions/network/connection_balance/dlb/v3alpha/dlb.proto

@ -27,6 +27,19 @@ option (udpa.annotations.file_status).package_version_status = ACTIVE;
// As the Dlb connection balancer provides assistance from dedicated Dlb hardware, it can be used for a proxy with a large number of connections
// (e.g., a gateway).
message Dlb {
// The fallback policy if any error occurs.
// The default policy is None.
enum FallbackPolicy {
// No fallback policy.
None = 0;
// Fall back to Nop Connection Balance.
NopConnectionBalance = 1;
// Fall back to Exact Connection Balance.
ExactConnectionBalance = 2;
}
// The ID of the Dlb hardware, start from 0.
// If not specified, use the first available device as default.
uint32 id = 1;
@ -34,4 +47,6 @@ message Dlb {
// Maximum number of retries when sending to DLB device fails.
// No retry as default.
uint32 max_retries = 2;
FallbackPolicy fallback_policy = 3;
}

Loading…
Cancel
Save