Commit 217507b3 authored by Hejing Li's avatar Hejing Li
Browse files

working script, add nic to topology

parent 892346ff
...@@ -72,7 +72,6 @@ for h in types_of_host: ...@@ -72,7 +72,6 @@ for h in types_of_host:
h_per_rack=2, h_per_rack=2,
) )
add_homa_bg(topology, app_proto=p)
net = sim.NS3E2ENet() net = sim.NS3E2ENet()
net.opt = ' '.join([f'--{o[0]}={o[1]}' for o in options.items()]) net.opt = ' '.join([f'--{o[0]}={o[1]}' for o in options.items()])
...@@ -122,6 +121,10 @@ for h in types_of_host: ...@@ -122,6 +121,10 @@ for h in types_of_host:
client_nic.set_network(net) client_nic.set_network(net)
server_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() net.init_network()
experiments.append(e) experiments.append(e)
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