diff options
Diffstat (limited to 'api/gobgp.proto')
-rw-r--r-- | api/gobgp.proto | 15 |
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; +} |