Moving bind_config while we still can (#147)

pull/146/head^2
alyssawilk 8 years ago committed by htuch
parent 32aac177bf
commit fc3467906e
  1. 9
      api/bootstrap.proto
  2. 10
      api/cds.proto

@ -10,13 +10,6 @@ import "api/address.proto";
import "api/base.proto";
import "api/cds.proto";
// An extensible structure containing the address Envoy should bind to when establishing upstream
// connections.
message UpstreamBindConfig {
// The address Envoy should bind to when establishing upstream connections.
ResolvedAddress source_address = 1;
}
message Bootstrap {
// Node identity to present to the management server and for instance
// identification purposes (e.g. in generated headers).
@ -33,7 +26,5 @@ message Bootstrap {
// to know how to speak to the management server. These cluster definitions
// may not use EDS (i.e. they should be static IP or DNS-based).
repeated Cluster bootstrap_clusters = 5;
// Optional configuration used to bind newly established upstream connections.
UpstreamBindConfig upstream_bind_config = 6;
// TODO(htuch): Add support for HDS.
}

@ -27,6 +27,13 @@ service ClusterDiscoveryService {
}
}
// An extensible structure containing the address Envoy should bind to when establishing upstream
// connections.
message UpstreamBindConfig {
// The address Envoy should bind to when establishing upstream connections.
ResolvedAddress source_address = 1;
}
// Circuit breaking settings can be specified individually for each defined
// priority.
message CircuitBreakers {
@ -220,4 +227,7 @@ message Cluster {
// value defaults to 5000ms. For cluster types other than original_dst
// this setting is ignored.
google.protobuf.Duration cleanup_interval = 21;
// Optional configuration used to bind newly established upstream connections.
UpstreamBindConfig upstream_bind_config = 22;
}

Loading…
Cancel
Save