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
066bfe11
Commit
066bfe11
authored
Feb 01, 2024
by
Hejing Li
Browse files
change IP subnet and log period
parent
d2122c1d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
experiments/simbricks/orchestration/e2e_topologies.py
experiments/simbricks/orchestration/e2e_topologies.py
+3
-3
No files found.
experiments/simbricks/orchestration/e2e_topologies.py
View file @
066bfe11
...
@@ -320,7 +320,7 @@ def add_contig_bg(topo, subnet='10.42.0.0/16', **kwargs):
...
@@ -320,7 +320,7 @@ def add_contig_bg(topo, subnet='10.42.0.0/16', **kwargs):
topo
.
add_host_r
(
c_host
)
topo
.
add_host_r
(
c_host
)
def
add_homa_bg
(
topo
,
subnet
=
'10.
0
.0.0/16'
,
**
kwargs
):
def
add_homa_bg
(
topo
,
subnet
=
'10.
2
.0.0/16'
,
**
kwargs
):
params
=
{
params
=
{
'link_rate'
:
'10Gbps'
,
'link_rate'
:
'10Gbps'
,
'link_delay'
:
'500ns'
,
'link_delay'
:
'500ns'
,
...
@@ -352,7 +352,7 @@ def add_homa_bg(topo, subnet='10.0.0.0/16', **kwargs):
...
@@ -352,7 +352,7 @@ def add_homa_bg(topo, subnet='10.0.0.0/16', **kwargs):
s_app
.
remotes
=
remotes
s_app
.
remotes
=
remotes
s_host
.
add_component
(
s_app
)
s_host
.
add_component
(
s_app
)
s_probe
=
e2e
.
E2EPeriodicSampleProbe
(
'probe'
,
'Rx'
)
s_probe
=
e2e
.
E2EPeriodicSampleProbe
(
'probe'
,
'Rx'
)
s_probe
.
interval
=
'
1
s'
s_probe
.
interval
=
'
500m
s'
exp_name
=
params
[
'exp_name'
]
exp_name
=
params
[
'exp_name'
]
s_probe
.
file
=
f
'
{
exp_name
}
_sink-rx-
{
i
}
'
s_probe
.
file
=
f
'
{
exp_name
}
_sink-rx-
{
i
}
'
s_app
.
add_component
(
s_probe
)
s_app
.
add_component
(
s_probe
)
...
@@ -362,7 +362,7 @@ def add_homa_bg(topo, subnet='10.0.0.0/16', **kwargs):
...
@@ -362,7 +362,7 @@ def add_homa_bg(topo, subnet='10.0.0.0/16', **kwargs):
s_app
.
remotes
=
remotes
s_app
.
remotes
=
remotes
s_host
.
add_component
(
s_app
)
s_host
.
add_component
(
s_app
)
s_probe
=
e2e
.
E2EPeriodicSampleProbe
(
'probe'
,
'Rx'
)
s_probe
=
e2e
.
E2EPeriodicSampleProbe
(
'probe'
,
'Rx'
)
s_probe
.
interval
=
'
1
s'
s_probe
.
interval
=
'
500m
s'
exp_name
=
params
[
'exp_name'
]
exp_name
=
params
[
'exp_name'
]
s_probe
.
file
=
f
'
{
exp_name
}
_sink-rx-
{
i
}
'
s_probe
.
file
=
f
'
{
exp_name
}
_sink-rx-
{
i
}
'
s_app
.
add_component
(
s_probe
)
s_app
.
add_component
(
s_probe
)
...
...
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