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

Method __init__

dpdk/dts/framework/testbed_model/tg_node.py:46–49  ·  view source on GitHub ↗
(self, node_config: TGNodeConfiguration)

Source from the content-addressed store, hash-verified

44 traffic_generator: CapturingTrafficGenerator
45
46 def __init__(self, node_config: TGNodeConfiguration):
47 super(TGNode, self).__init__(node_config)
48 self.traffic_generator = create_traffic_generator(self, node_config.traffic_generator)
49 self._logger.info(f"Created node: {self.name}")
50
51 def send_packet_and_capture(
52 self,

Callers

nothing calls this directly

Calls 1

create_traffic_generatorFunction · 0.85

Tested by

no test coverage detected