"...composable_kernel_rocm.git" did not exist on "11e27522618996406d2423fddbb6bf55fedbc770"
Commit e10352ef authored by Antoine Kaufmann's avatar Antoine Kaufmann Committed by Hejing Li
Browse files

experiments: add instantiate method for NS3E2ENet

Subclasses can override to set up more state before the rest of the
initialization for running occurs.
parent 6ad9de5a
...@@ -954,8 +954,12 @@ class NS3E2ENet(NetSim): ...@@ -954,8 +954,12 @@ class NS3E2ENet(NetSim):
self, e2e_sim.simbricks_component self, e2e_sim.simbricks_component
) )
def instantiate(self):
pass
def run_cmd(self, env): def run_cmd(self, env):
if self.first_run: if self.first_run:
self.instantiate()
for topo in self.e2e_topologies: for topo in self.e2e_topologies:
topo.add_to_network(self) topo.add_to_network(self)
......
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