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
f929f0a5
Commit
f929f0a5
authored
Jan 16, 2024
by
Marvin Meiers
Committed by
Hejing Li
Feb 01, 2024
Browse files
experiments: add reference to network in E2ETopologyNode
parent
19d87d23
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
experiments/simbricks/orchestration/e2e_components.py
experiments/simbricks/orchestration/e2e_components.py
+1
-0
experiments/simbricks/orchestration/simulators.py
experiments/simbricks/orchestration/simulators.py
+2
-0
No files found.
experiments/simbricks/orchestration/e2e_components.py
View file @
f929f0a5
...
...
@@ -156,6 +156,7 @@ class E2ETopologyNode(E2EComponent):
def
__init__
(
self
,
idd
:
str
)
->
None
:
super
().
__init__
(
idd
)
self
.
category
=
"TopologyNode"
self
.
network
=
None
class
E2ESwitchNode
(
E2ETopologyNode
):
...
...
experiments/simbricks/orchestration/simulators.py
View file @
f929f0a5
...
...
@@ -928,6 +928,8 @@ class NS3E2ENet(NetSim):
self
.
e2e_topologies
.
append
(
component
)
else
:
self
.
e2e_components
.
append
(
component
)
if
isinstance
(
component
,
e2e
.
E2ETopologyNode
):
component
.
network
=
self
def
resolve_socket_paths
(
self
,
...
...
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