Rename gRPC PCAP entities
This commit is contained in:
parent
e30a1299eb
commit
24ae0820e8
1 changed files with 6 additions and 6 deletions
|
@ -32,28 +32,28 @@ message ListRecordingsResponse {
|
||||||
repeated string subscriptions = 1;
|
repeated string subscriptions = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
message RegisterPCAPFileRecordRequest {
|
message StartPCAPFileRecordRequest {
|
||||||
string device = 1;
|
string device = 1;
|
||||||
string targetPath = 2;
|
string targetPath = 2;
|
||||||
bool promiscuous = 3;
|
bool promiscuous = 3;
|
||||||
google.protobuf.Duration readTimeout = 4;
|
google.protobuf.Duration readTimeout = 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
message RegisterPCAPFileRecordResponse {
|
message StartPCAPFileRecordResponse {
|
||||||
string resolvedPath = 1;
|
string resolvedPath = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
message RemovePCAPFileRecordRequest {
|
message StopPCAPFileRecordRequest {
|
||||||
string consumerKey = 1;
|
string consumerKey = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
message RemovePCAPFileRecordResponse {
|
message StopPCAPFileRecordResponse {
|
||||||
bool removed = 1;
|
bool removed = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
service PCAP {
|
service PCAP {
|
||||||
rpc ListAvailableDevices(ListAvailableDevicesRequest) returns (ListAvailableDevicesResponse);
|
rpc ListAvailableDevices(ListAvailableDevicesRequest) returns (ListAvailableDevicesResponse);
|
||||||
rpc ListActiveRecordings(ListRecordingsRequest) returns (ListRecordingsResponse);
|
rpc ListActiveRecordings(ListRecordingsRequest) returns (ListRecordingsResponse);
|
||||||
rpc StartPCAPFileRecording(RegisterPCAPFileRecordRequest) returns (RegisterPCAPFileRecordResponse);
|
rpc StartPCAPFileRecording(StartPCAPFileRecordRequest) returns (StartPCAPFileRecordResponse);
|
||||||
rpc StopPCAPFileRecord(RemovePCAPFileRecordRequest) returns (RemovePCAPFileRecordResponse);
|
rpc StopPCAPFileRecord(StopPCAPFileRecordRequest) returns (StopPCAPFileRecordResponse);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue