Updates to the affinity router test framework as
well as bug fixes to the affinity router found by
the test framework.
Change-Id: I90e6baa9e9ee11bd8034498b8651e9e14512e528
diff --git a/protos/afrouter.proto b/protos/afrouter.proto
index 903e5cc..7702841 100644
--- a/protos/afrouter.proto
+++ b/protos/afrouter.proto
@@ -7,13 +7,22 @@
package afrouter;
service Configuration {
- rpc SetConnection (Conn) returns (Result) {}
+ rpc SetConnection (Conn) returns (Result) {}
rpc SetAffinity(Affinity) returns (Result) {}
+ rpc GetGoroutineCount(Empty) returns (Count) {}
+}
+
+message Empty {
+}
+
+message Count {
+ uint32 count = 1;
}
message Result {
bool success = 1;
string error = 2;
+ string info = 3;
}
message Conn {