mirror of https://github.com/F-Stack/f-stack.git
15 lines
404 B
Python
15 lines
404 B
Python
|
# SPDX-License-Identifier: BSD-3-Clause
|
||
|
# Copyright(c) 2022 PANTHEON.tech s.r.o.
|
||
|
|
||
|
from framework.config import NodeConfiguration
|
||
|
from framework.logger import DTSLOG
|
||
|
|
||
|
from .remote_session import RemoteSession
|
||
|
from .ssh_session import SSHSession
|
||
|
|
||
|
|
||
|
def create_remote_session(
|
||
|
node_config: NodeConfiguration, name: str, logger: DTSLOG
|
||
|
) -> RemoteSession:
|
||
|
return SSHSession(node_config, name, logger)
|