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
92ce9212
Commit
92ce9212
authored
Jan 23, 2024
by
Antoine Kaufmann
Committed by
Hejing Li
Feb 01, 2024
Browse files
experiments: set mac start sensibly in e2e partition
parent
c435a9df
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
experiments/simbricks/orchestration/e2e_partition.py
experiments/simbricks/orchestration/e2e_partition.py
+3
-0
No files found.
experiments/simbricks/orchestration/e2e_partition.py
View file @
92ce9212
...
...
@@ -108,8 +108,11 @@ def partition(topology, N):
# create the networks
networks
=
[]
mac_start
=
0
for
p
in
sorted
(
node_partitions
.
keys
()):
net
=
sim
.
NS3E2ENet
()
net
.
e2e_global
.
mac_start
=
mac_start
mac_start
+=
10000
net
.
name
=
f
'netpart_
{
p
}
'
networks
.
append
(
net
)
...
...
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