Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ycai
simbricks
Commits
95589f20
Commit
95589f20
authored
Jan 23, 2024
by
Antoine Kaufmann
Committed by
Antoine Kaufmann
May 08, 2024
Browse files
experiments: add a global config to each E2ENet
parent
7148ae80
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
experiments/simbricks/orchestration/simulators.py
experiments/simbricks/orchestration/simulators.py
+2
-0
No files found.
experiments/simbricks/orchestration/simulators.py
View file @
95589f20
...
...
@@ -907,6 +907,7 @@ class NS3E2ENet(NetSim):
self
.
e2e_components
:
tp
.
List
[
tp
.
Union
[
e2e
.
E2ETopologyNode
,
e2e
.
E2ETopologyChannel
]]
=
[]
self
.
e2e_topologies
:
tp
.
List
[
E2ETopology
]
=
[]
self
.
e2e_global
=
e2e
.
E2EGlobalConfig
()
self
.
use_file
=
True
def
add_component
(
...
...
@@ -972,6 +973,7 @@ class NS3E2ENet(NetSim):
self
.
resolve_socket_paths
(
env
,
c
,
True
)
params
:
tp
.
List
[
str
]
=
[]
params
.
append
(
self
.
e2e_global
.
ns3_config
())
for
component
in
self
.
e2e_components
:
params
.
append
(
component
.
ns3_config
())
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment