2 Documentation Library for the tools system nodes.
6 Resource ../variables/Variables.robot
9 @{TOOLS_SYSTEM_ALL_IPS} @{EMPTY}
10 @{TOOLS_SYSTEM_ALL_CONN_IDS} @{EMPTY}
13 Get Tools System Nodes Data
14 FOR ${i} IN RANGE 1 ${NUM_TOOLS_SYSTEM} + 1
15 ${ip} = BuiltIn.Set Variable ${TOOLS_SYSTEM_${i}_IP}
16 Collections.Append To List ${TOOLS_SYSTEM_ALL_IPS} ${ip}
17 ${conn_id} = SSHLibrary.Open Connection ${ip} prompt=${DEFAULT_LINUX_PROMPT} timeout=30s
18 Collections.Append To List ${TOOLS_SYSTEM_ALL_CONN_IDS} ${conn_id}
21 Run Command On All Tools Systems
23 [Documentation] Run command on all tools systems
24 FOR ${ip} IN @{TOOLS_SYSTEM_ALL_IPS}
25 Utils.Run Command On Remote System ${ip} ${cmd}