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

Method create_session

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

Create and return a new OSSession tailored to the remote OS.

(self, name: str)

Source from the content-addressed store, hash-verified

130 """
131
132 def create_session(self, name: str) -> OSSession:
133 """
134 Create and return a new OSSession tailored to the remote OS.
135 """
136 session_name = f"{self.name} {name}"
137 connection = create_session(
138 self.config,
139 session_name,
140 getLogger(session_name, node=self.name),
141 )
142 self._other_sessions.append(connection)
143 return connection
144
145 def create_interactive_shell(
146 self,

Callers 1

Calls 2

create_sessionFunction · 0.90
getLoggerFunction · 0.90

Tested by

no test coverage detected