Skip to content
Snippets Groups Projects
Commit ff4797b2 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Protos:

- extend load generator with service constraints (availability, capacity and latency)
parent e67ce5bc
No related branches found
No related tags found
2 merge requests!142Release TeraFlowSDN 2.1,!92New features in Load Generator
...@@ -33,16 +33,31 @@ enum RequestTypeEnum { ...@@ -33,16 +33,31 @@ enum RequestTypeEnum {
REQUESTTYPE_SLICE_L3NM = 6; REQUESTTYPE_SLICE_L3NM = 6;
} }
message Range {
float minimum = 1;
float maximum = 2;
}
message ScalarOrRange {
oneof value {
float scalar = 1; // select the scalar value
Range range = 2; // select a random uniformly dstributed value between minimum and maximum
}
}
message Parameters { message Parameters {
uint64 num_requests = 1; // if == 0, generate infinite requests uint64 num_requests = 1; // if == 0, generate infinite requests
repeated RequestTypeEnum request_types = 2; repeated RequestTypeEnum request_types = 2;
float offered_load = 3; float offered_load = 3;
float holding_time = 4; float holding_time = 4;
float inter_arrival_time = 5; float inter_arrival_time = 5;
bool do_teardown = 6; repeated ScalarOrRange availability = 6; // one from the list is selected
bool dry_mode = 7; repeated ScalarOrRange capacity_gbps = 7; // one from the list is selected
bool record_to_dlt = 8; repeated ScalarOrRange e2e_latency_ms = 8; // one from the list is selected
string dlt_domain_id = 9; bool do_teardown = 9;
bool dry_mode = 10;
bool record_to_dlt = 11;
string dlt_domain_id = 12;
} }
message Status { message Status {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment