aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar lyuxuan <yuxuanli@google.com>2017-01-11 23:36:52 -0800
committerGravatar GitHub <noreply@github.com>2017-01-11 23:36:52 -0800
commit3cdf729eb07b60cd635aadb91718ee54a2f0e808 (patch)
tree9c91f36ccc069235023b7c7b8041296ddcb7b9f6 /src
parent21b6a6805a9a2c1699a7aae52aff3a3bac94022a (diff)
parent98c0bd7c829c4932ac12ebbe6687f0fc5380e866 (diff)
Merge pull request #8770 from lyuxuan/channel_args1
configurable channel args for performance benchmarking
Diffstat (limited to 'src')
-rw-r--r--src/proto/grpc/testing/control.proto10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/proto/grpc/testing/control.proto b/src/proto/grpc/testing/control.proto
index be387cf786..529313cfb1 100644
--- a/src/proto/grpc/testing/control.proto
+++ b/src/proto/grpc/testing/control.proto
@@ -78,6 +78,14 @@ message SecurityParams {
string server_host_override = 2;
}
+message ChannelArg {
+ string name = 1;
+ oneof value {
+ string str_value = 2;
+ int32 int_value = 3;
+ }
+}
+
message ClientConfig {
// List of targets to connect to. At least one target needs to be specified.
repeated string server_targets = 1;
@@ -103,6 +111,8 @@ message ClientConfig {
// If we use an OTHER_CLIENT client_type, this string gives more detail
string other_client_api = 15;
+
+ repeated ChannelArg channel_args = 16;
}
message ClientStatus { ClientStats stats = 1; }