From 102d990ccbb810758a92cf4eac7e808cbd30f880 Mon Sep 17 00:00:00 2001
From: gifrerenom <lluis.gifre@cttc.es>
Date: Thu, 27 Apr 2023 15:39:23 +0000
Subject: [PATCH] Protos:

- extend load generator with device and endpoint regex selectors
---
 proto/load_generator.proto | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/proto/load_generator.proto b/proto/load_generator.proto
index 7d0070c66..32523b331 100644
--- a/proto/load_generator.proto
+++ b/proto/load_generator.proto
@@ -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 {
-- 
GitLab