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

LoadGenerator component:

- restored default parameters
parent 0862e48b
No related branches found
No related tags found
2 merge requests!54Release 2.0.0,!34Context Scalability extensions using CockroachDB + Removal of Stateful database inside Device + other
...@@ -28,7 +28,7 @@ class LoadGeneratorServiceServicerImpl(LoadGeneratorServiceServicer): ...@@ -28,7 +28,7 @@ class LoadGeneratorServiceServicerImpl(LoadGeneratorServiceServicer):
def __init__(self): def __init__(self):
LOGGER.debug('Creating Servicer...') LOGGER.debug('Creating Servicer...')
self._parameters = Parameters( self._parameters = Parameters(
num_requests = 1, num_requests = 100,
request_types = [ request_types = [
RequestType.SERVICE_L2NM, RequestType.SERVICE_L2NM,
RequestType.SERVICE_L3NM, RequestType.SERVICE_L3NM,
...@@ -39,7 +39,7 @@ class LoadGeneratorServiceServicerImpl(LoadGeneratorServiceServicer): ...@@ -39,7 +39,7 @@ class LoadGeneratorServiceServicerImpl(LoadGeneratorServiceServicer):
], ],
offered_load = 50, offered_load = 50,
holding_time = 10, holding_time = 10,
do_teardown = False, do_teardown = True,
dry_mode = False, # in dry mode, no request is sent to TeraFlowSDN dry_mode = False, # in dry mode, no request is sent to TeraFlowSDN
record_to_dlt = False, # if record_to_dlt, changes in device/link/service/slice are uploaded to DLT record_to_dlt = False, # if record_to_dlt, changes in device/link/service/slice are uploaded to DLT
dlt_domain_id = 'dlt-perf-eval', # domain used to uploaded entities, ignored when record_to_dlt = False dlt_domain_id = 'dlt-perf-eval', # domain used to uploaded entities, ignored when record_to_dlt = False
......
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