"git@developer.sourcefind.cn:gaoqiong/composable_kernel.git" did not exist on "bbad8d653c6a752452dfccc9c575370f424d7b7c"
Commit 32133d9f authored by Marvin Meiers's avatar Marvin Meiers Committed by Antoine Kaufmann
Browse files

experiments: quote parameters for ns3 end-to-end framework by default

This avoids issues for parameter strings containing characters that are
treated specially while parsing the arguments, e.g. whitespace.
parent 8547d52d
...@@ -87,7 +87,7 @@ class E2EBase(ABC): ...@@ -87,7 +87,7 @@ class E2EBase(ABC):
child.ns3_config() for child in self.components child.ns3_config() for child in self.components
]) ])
return f"--{self.category}={config} {child_configs}" return f"--{self.category}=\"{config}\" {child_configs}"
@abstractmethod @abstractmethod
def add_component(self, component: E2EComponent) -> None: def add_component(self, component: E2EComponent) -> None:
......
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