Commit 102d990c authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Protos:

- extend load generator with device and endpoint regex selectors
parent 51a32b58
Loading
Loading
Loading
Loading
+13 −11
Original line number Diff line number Diff line
@@ -48,17 +48,19 @@ message ScalarOrRange {
message Parameters {
  uint64 num_requests = 1;  // if == 0, generate infinite requests
  repeated RequestTypeEnum request_types = 2;
  float offered_load = 3;
  float holding_time = 4;
  float inter_arrival_time = 5;
  repeated ScalarOrRange availability = 6;    // one from the list is selected
  repeated ScalarOrRange capacity_gbps = 7;   // one from the list is selected
  repeated ScalarOrRange e2e_latency_ms = 8;  // one from the list is selected
  uint32 max_workers = 9;
  bool do_teardown = 10;
  bool dry_mode = 11;
  bool record_to_dlt = 12;
  string dlt_domain_id = 13;
  string device_regex = 3;      // Only devices and endpoints matching the regex expression will be considered as
  string endpoint_regex = 4;    // source-destination candidates for the requests generated.
  float offered_load = 5;
  float holding_time = 6;
  float inter_arrival_time = 7;
  repeated ScalarOrRange availability = 8;    // One from the list is selected to populate the constraint
  repeated ScalarOrRange capacity_gbps = 9;   // One from the list is selected to populate the constraint
  repeated ScalarOrRange e2e_latency_ms = 10; // One from the list is selected to populate the constraint
  uint32 max_workers = 11;
  bool do_teardown = 12;
  bool dry_mode = 13;
  bool record_to_dlt = 14;
  string dlt_domain_id = 15;
}

message Status {