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

Method close

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

Close all connections and free other resources.

(self)

Source from the content-addressed store, hash-verified

230 self.main_session.configure_port_ip_address(address, port, delete)
231
232 def close(self) -> None:
233 """
234 Close all connections and free other resources.
235 """
236 if self.main_session:
237 self.main_session.close()
238 for session in self._other_sessions:
239 session.close()
240 self._logger.logger_exit()
241
242 @staticmethod
243 def skip_setup(func: Callable[..., Any]) -> Callable[..., Any]:

Callers 15

defaultDisplayFunction · 0.45
_listFunction · 0.45
cleanup_fdFunction · 0.45
os_openFunction · 0.45
test_send_to_ro_fileMethod · 0.45
__init__Method · 0.45
randombytes_closeFunction · 0.45
rte_bbdev_setup_queuesFunction · 0.45
rte_bbdev_closeFunction · 0.45
run_allFunction · 0.45

Calls 1

logger_exitMethod · 0.80

Tested by 8

cleanup_fdFunction · 0.36
os_openFunction · 0.36
test_send_to_ro_fileMethod · 0.36
__init__Method · 0.36
__del__Method · 0.36
testitFunction · 0.36