MCPcopy Create free account
hub / github.com/F-Stack/f-stack / set_up_execution

Method set_up_execution

dpdk/dts/framework/testbed_model/node.py:75–84  ·  view source on GitHub ↗

Perform the execution setup that will be done for each execution this node is part of.

(self, execution_config: ExecutionConfiguration)

Source from the content-addressed store, hash-verified

73 self.configure_port_state(port)
74
75 def set_up_execution(self, execution_config: ExecutionConfiguration) -> None:
76 """
77 Perform the execution setup that will be done for each execution
78 this node is part of.
79 """
80 self._setup_hugepages()
81 self._set_up_execution(execution_config)
82 self._execution_config = execution_config
83 for vdev in execution_config.vdevs:
84 self.virtual_devices.append(VirtualDevice(vdev))
85
86 def _set_up_execution(self, execution_config: ExecutionConfiguration) -> None:
87 """

Callers 1

_run_executionFunction · 0.80

Calls 3

_setup_hugepagesMethod · 0.95
_set_up_executionMethod · 0.95
VirtualDeviceClass · 0.85

Tested by

no test coverage detected