Commit 95589f20 authored by Antoine Kaufmann's avatar Antoine Kaufmann Committed by Antoine Kaufmann
Browse files

experiments: add a global config to each E2ENet

parent 7148ae80
......@@ -907,6 +907,7 @@ class NS3E2ENet(NetSim):
self.e2e_components: tp.List[tp.Union[e2e.E2ETopologyNode,
e2e.E2ETopologyChannel]] = []
self.e2e_topologies: tp.List[E2ETopology] = []
self.e2e_global = e2e.E2EGlobalConfig()
self.use_file = True
def add_component(
......@@ -972,6 +973,7 @@ class NS3E2ENet(NetSim):
self.resolve_socket_paths(env, c, True)
params: tp.List[str] = []
params.append(self.e2e_global.ns3_config())
for component in self.e2e_components:
params.append(component.ns3_config())
......
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