quic: support half-way server's preferred address (#25356)
Signed-off-by: Dan Zhang <danzh@google.com> Mirrored from https://github.com/envoyproxy/envoy @ 245a0454ee6338414352a2bff7d0b3b7b532b0b5pull/626/head
parent
696e2e4182
commit
d281384966
5 changed files with 59 additions and 1 deletions
@ -0,0 +1,12 @@ |
||||
# DO NOT EDIT. This file is generated by tools/proto_format/proto_sync.py. |
||||
|
||||
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_package") |
||||
|
||||
licenses(["notice"]) # Apache 2 |
||||
|
||||
api_proto_package( |
||||
deps = [ |
||||
"@com_github_cncf_udpa//udpa/annotations:pkg", |
||||
"@com_github_cncf_udpa//xds/annotations/v3:pkg", |
||||
], |
||||
) |
@ -0,0 +1,35 @@ |
||||
syntax = "proto3"; |
||||
|
||||
package envoy.extensions.quic.server_preferred_address.v3; |
||||
|
||||
import "xds/annotations/v3/status.proto"; |
||||
|
||||
import "udpa/annotations/status.proto"; |
||||
|
||||
option java_package = "io.envoyproxy.envoy.extensions.quic.server_preferred_address.v3"; |
||||
option java_outer_classname = "FixedServerPreferredAddressConfigProto"; |
||||
option java_multiple_files = true; |
||||
option go_package = "github.com/envoyproxy/go-control-plane/envoy/extensions/quic/server_preferred_address/v3;server_preferred_addressv3"; |
||||
option (udpa.annotations.file_status).package_version_status = ACTIVE; |
||||
|
||||
// [#protodoc-title: QUIC server preferred address config] |
||||
// [#extension: envoy.quic.server_preferred_address.fixed] |
||||
|
||||
// Configuration for FixedServerPreferredAddressConfig. |
||||
message FixedServerPreferredAddressConfig { |
||||
// [#comment:TODO(danzh2010): discuss with API shepherds before removing WiP status.] |
||||
|
||||
option (xds.annotations.v3.message_status).work_in_progress = true; |
||||
|
||||
oneof ipv4_type { |
||||
// String representation of IPv4 address, i.e. "127.0.0.2". |
||||
// If not specified, none will be configured. |
||||
string ipv4_address = 1; |
||||
} |
||||
|
||||
oneof ipv6_type { |
||||
// String representation of IPv6 address, i.e. "::1". |
||||
// If not specified, none will be configured. |
||||
string ipv6_address = 2; |
||||
} |
||||
} |
Loading…
Reference in new issue