From a26f8e00a6f4908d58e857153f533daa8875362e Mon Sep 17 00:00:00 2001 From: Chengyuan Zhang Date: Sat, 24 Oct 2020 02:27:06 -0700 Subject: [PATCH] xds: import envoy proto envoy/config/cluster/aggregate/v2alpha/cluster.proto (#7551) --- xds/third_party/envoy/import.sh | 1 + .../cluster/aggregate/v2alpha/cluster.proto | 24 +++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 xds/third_party/envoy/src/main/proto/envoy/config/cluster/aggregate/v2alpha/cluster.proto diff --git a/xds/third_party/envoy/import.sh b/xds/third_party/envoy/import.sh index 4e1a403eca..c83a70c87b 100755 --- a/xds/third_party/envoy/import.sh +++ b/xds/third_party/envoy/import.sh @@ -80,6 +80,7 @@ envoy/config/core/v3/protocol.proto envoy/config/core/v3/proxy_protocol.proto envoy/config/core/v3/socket_option.proto envoy/config/core/v3/substitution_format_string.proto +envoy/config/cluster/aggregate/v2alpha/cluster.proto envoy/config/endpoint/v3/endpoint.proto envoy/config/endpoint/v3/endpoint_components.proto envoy/config/endpoint/v3/load_report.proto diff --git a/xds/third_party/envoy/src/main/proto/envoy/config/cluster/aggregate/v2alpha/cluster.proto b/xds/third_party/envoy/src/main/proto/envoy/config/cluster/aggregate/v2alpha/cluster.proto new file mode 100644 index 0000000000..a0fdadd757 --- /dev/null +++ b/xds/third_party/envoy/src/main/proto/envoy/config/cluster/aggregate/v2alpha/cluster.proto @@ -0,0 +1,24 @@ +syntax = "proto3"; + +package envoy.config.cluster.aggregate.v2alpha; + +import "udpa/annotations/migrate.proto"; +import "udpa/annotations/status.proto"; +import "validate/validate.proto"; + +option java_package = "io.envoyproxy.envoy.config.cluster.aggregate.v2alpha"; +option java_outer_classname = "ClusterProto"; +option java_multiple_files = true; +option (udpa.annotations.file_migrate).move_to_package = "envoy.extensions.clusters.aggregate.v3"; +option (udpa.annotations.file_status).package_version_status = FROZEN; + +// [#protodoc-title: Aggregate cluster configuration] + +// Configuration for the aggregate cluster. See the :ref:`architecture overview +// ` for more information. +// [#extension: envoy.clusters.aggregate] +message ClusterConfig { + // Load balancing clusters in aggregate cluster. Clusters are prioritized based on the order they + // appear in this list. + repeated string clusters = 1 [(validate.rules).repeated = {min_items: 1}]; +}