mirror of
https://github.com/hanzozt/zt.git
synced 2026-11-03 05:01:58 +00:00
- Repo names: ziti-* → zt-* - Go modules: github.com/hanzozt/ziti → github.com/hanzozt/zt - Docker images: hanzozt/ziti-* → hanzozt/zt-* - C/Java/JS symbols: ziti_* → zt_* - File and directory names updated
47 lines
934 B
Protocol Buffer
47 lines
934 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package zt.loop4.pb;
|
|
option go_package = "github.com/hanzozt/zt/zttest/v2/zt-test/subcmd/loop4/pb/loop4_pb";
|
|
|
|
enum ContentType {
|
|
ZeroContentType = 0;
|
|
RunScenarioRequestType = 1;
|
|
RunScenarioResultType = 2;
|
|
RequestDiagnostic = 3;
|
|
}
|
|
|
|
enum HeaderType {
|
|
ZeroHeaderType = 0;
|
|
ScenarioId = 100;
|
|
ScenarioSuccess = 101;
|
|
RequestIdHeader = 102;
|
|
}
|
|
|
|
message Test {
|
|
string name = 1;
|
|
int32 txRequests = 2;
|
|
string txPacing = 3;
|
|
string txMaxJitter = 4;
|
|
string txPauseEvery = 5;
|
|
string txPauseFor = 6;
|
|
bool txAfterRx = 19;
|
|
|
|
int32 rxRequests = 7;
|
|
string rxTimeout = 8;
|
|
string rxPauseEvery = 9;
|
|
string rxPauseFor = 10;
|
|
|
|
int32 payloadMinBytes = 11;
|
|
int32 payloadMaxBytes = 12;
|
|
int32 latencyFrequency = 13;
|
|
string txBlockType = 14;
|
|
string rxBlockType = 15;
|
|
int32 rxSeqBlockSize = 16;
|
|
string rxPacing = 17;
|
|
string rxMaxJitter = 18;
|
|
}
|
|
|
|
message ScenarioComplete {
|
|
bool success = 1;
|
|
}
|