katnip.controllers.client.ssh module¶
-
class
katnip.controllers.client.ssh.ClientSshController(name, username, password, hostname, port, command, process_name, logger=None)¶ Bases:
kitty.controllers.client.ClientControllerClientSshController controlls a remote process by starting it on each trigger using ssh.
-
__init__(name, username, password, hostname, port, command, process_name, logger=None)¶ Parameters: - name – name of the object
- username – ssh login username
- password – ssh login password
- hostname – ssh server ip
- port – ssh server port
- command – client trigger command
- process_name – command process name
- logger – logger for this object (default: None)
-
post_test()¶ Log output of process, check if crashed
-
pre_test(num)¶ Creates an SSH connection
-
teardown()¶ Closes the SSH connection and calls super’s teardown.
-
trigger()¶ Trigger the target communication with the server stack.
-