Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
controller
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TFS
controller
Commits
dd1fe0ca
Commit
dd1fe0ca
authored
2 years ago
by
Lluis Gifre Renom
Browse files
Options
Downloads
Patches
Plain Diff
LoadGenerator component:
- restored default parameters
parent
0862e48b
No related branches found
No related tags found
2 merge requests
!54
Release 2.0.0
,
!34
Context Scalability extensions using CockroachDB + Removal of Stateful database inside Device + other
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/load_generator/service/LoadGeneratorServiceServicerImpl.py
+2
-2
2 additions, 2 deletions
...oad_generator/service/LoadGeneratorServiceServicerImpl.py
with
2 additions
and
2 deletions
src/load_generator/service/LoadGeneratorServiceServicerImpl.py
+
2
−
2
View file @
dd1fe0ca
...
@@ -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
=
1
00
,
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
=
Fals
e
,
do_teardown
=
Tru
e
,
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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment