Commit 92ce9212 authored by Antoine Kaufmann's avatar Antoine Kaufmann Committed by Hejing Li
Browse files

experiments: set mac start sensibly in e2e partition

parent c435a9df
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment