This shows you the differences between two versions of the page.
en:script_generic_adaptor [2018/03/18 21:12] tast |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Script Generic Adaptor ===== | ||
- | {{:TAST-icon.png?nolink&70|}} | ||
- | |||
- | ==== Introduction ==== | ||
- | |||
- | This Adaptor is used for executing scripts on remote or local machines, doesn't matter the Operative System rnning in that machine. | ||
- | |||
- | ==== Setup ==== | ||
- | |||
- | In the initialization process, it's necessary to provide the information to connect with the machine, That is the Adaptor's information: | ||
- | |||
- | |||
- | ==== Initialization Parameters ==== | ||
- | |||
- | * **Host address:** Ip addres of the Host machine. | ||
- | * **Username:** User name authorized to access to the Host machine. | ||
- | * **Password:** Password of a user authorized to access to the Host machine. | ||
- | * **Port:** Port for the Ip addres of the Host machine. | ||
- | * **Connection Type:** Type of connection to the Host machine. For example, SSH (Secure connection). | ||
- | |||
- | ==== Functions ==== | ||
- | |||
- | * **Connect_Script:** Make an attempt to connect to the SSH server. Returns true if it succeeds or false otherwise. | ||
- | | ||
- | * **Disconnect_Scrip:** Perform disconnection of the SSH server. Returns true if it succeeds or false otherwise.. | ||
- | |||
- | * **Execute_Script:** Pick up the command that allows you to execute the script. Returns true if the execution was successful or false otherwise. Leave the result in an output file in the execution Log along with the ScreenShots if they have been requested. | ||
- | |||
- | * **NewConnect_Script:** It allows defining a new connection with a different SSH server. Using the same parameters that are used in the initialization of the Adapter. Returns true if successful or false otherwise. |