VOL-1848 API for setting and querying loglevel in api-server
Change-Id: Ibecb3c33953b60251c94c5e1438c4bff99e9139a
diff --git a/protos/voltha_protos/afrouter.proto b/protos/voltha_protos/afrouter.proto
index 2f2ec00..c10a00f 100644
--- a/protos/voltha_protos/afrouter.proto
+++ b/protos/voltha_protos/afrouter.proto
@@ -6,10 +6,15 @@
package afrouter;
+// For logging
+import "voltha_protos/common.proto";
+
service Configuration {
- rpc SetConnection (Conn) returns (Result) {}
+ rpc SetConnection (Conn) returns (Result) {}
rpc SetAffinity(Affinity) returns (Result) {}
rpc GetGoroutineCount(Empty) returns (Count) {}
+ rpc UpdateLogLevel(common.Logging) returns (Empty) {}
+ rpc GetLogLevels(common.LoggingComponent) returns (common.Loggings) {}
}
message Result {
@@ -43,3 +48,4 @@
string backend = 4;
string id = 5;
}
+