Create and return a new OSSession tailored to the remote OS.
(self, name: str)
| 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, |
no test coverage detected