summaryrefslogtreecommitdiffhomepage
path: root/api/gobgp.proto
diff options
context:
space:
mode:
authorSteve Shaw <shaw38@gmail.com>2020-10-21 13:25:38 -0400
committerFUJITA Tomonori <fujita.tomonori@gmail.com>2020-11-06 21:15:10 +0900
commit393d82f955cf432fb41871275566e16fc7992e3e (patch)
tree3e5725c51f15264c96f8505d7d33b50436030b3a /api/gobgp.proto
parent01aa3f287bd41a3351396a303e60219b12a15475 (diff)
Adding gRPC support for modified logging level
Signed-off-by: Steve Shaw <shaw38@gmail.com>
Diffstat (limited to 'api/gobgp.proto')
-rw-r--r--api/gobgp.proto15
1 files changed, 15 insertions, 0 deletions
diff --git a/api/gobgp.proto b/api/gobgp.proto
index f8b3dcdc..4f60491a 100644
--- a/api/gobgp.proto
+++ b/api/gobgp.proto
@@ -95,6 +95,8 @@ service GobgpApi {
rpc AddBmp(AddBmpRequest) returns (google.protobuf.Empty);
rpc DeleteBmp(DeleteBmpRequest) returns (google.protobuf.Empty);
+
+ rpc SetLogLevel(SetLogLevelRequest) returns (google.protobuf.Empty);
}
message StartBgpRequest {
@@ -1194,3 +1196,16 @@ message Rpki {
RPKIConf conf = 1;
RPKIState state = 2;
}
+
+message SetLogLevelRequest {
+ enum Level {
+ PANIC = 0;
+ FATAL = 1;
+ ERROR = 2;
+ WARN = 3;
+ INFO = 4;
+ DEBUG = 5;
+ TRACE = 6;
+ }
+ Level level = 1;
+}