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
217507b3
Commit
217507b3
authored
Feb 01, 2024
by
Hejing Li
Browse files
working script, add nic to topology
parent
892346ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
experiments/pyexps/e2e_bg_homa.py
experiments/pyexps/e2e_bg_homa.py
+4
-1
No files found.
experiments/pyexps/e2e_bg_homa.py
View file @
217507b3
...
...
@@ -72,7 +72,6 @@ for h in types_of_host:
h_per_rack
=
2
,
)
add_homa_bg
(
topology
,
app_proto
=
p
)
net
=
sim
.
NS3E2ENet
()
net
.
opt
=
' '
.
join
([
f
'--
{
o
[
0
]
}
=
{
o
[
1
]
}
'
for
o
in
options
.
items
()])
...
...
@@ -122,6 +121,10 @@ for h in types_of_host:
client_nic
.
set_network
(
net
)
server_nic
.
set_network
(
net
)
topology
.
add_simbricks_host_r
(
client_nic
)
topology
.
add_simbricks_host_r
(
server_nic
)
add_homa_bg
(
topology
,
app_proto
=
p
)
net
.
init_network
()
experiments
.
append
(
e
)
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