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

Method _init_ports

dpdk/dts/framework/testbed_model/node.py:69–73  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

67 self._init_ports()
68
69 def _init_ports(self) -> None:
70 self.ports = [Port(self.name, port_config) for port_config in self.config.ports]
71 self.main_session.update_ports(self.ports)
72 for port in self.ports:
73 self.configure_port_state(port)
74
75 def set_up_execution(self, execution_config: ExecutionConfiguration) -> None:
76 """

Callers 1

__init__Method · 0.95

Calls 3

configure_port_stateMethod · 0.95
PortClass · 0.85
update_portsMethod · 0.45

Tested by

no test coverage detected