Lines Matching refs:If
31 # If no host was provided, add ${OPENBMC_HOST} to the dictionary
34 Run Keyword If ${has_host} == ${FALSE}
37 Run Keyword If
45 # If the ${SSH_PORT} is set and no port was provided, add the defined port
48 Run Keyword If '${SSH_PORT}' != '${EMPTY}' and ${has_port} == ${FALSE}
59 Run Keyword If '${SSH_PORT}' == '${EMPTY}' scp.Open connection ${OPENBMC_HOST}
84 Run Keyword If '${host}' == '${EMPTY}' Should Not Be Equal ${alias} None
95 Run Keyword If '${host}' != '${EMPTY}' and ${host_exists} == ${FALSE}
97 Run Keyword If '${alias}' != 'None' and ${alias_exists} == ${FALSE}
101 # If there are no open connections, open one and return.
102 Run Keyword If '${open_connections}' == '[]'
104 Return From Keyword If '${open_connections}' == '[]'
106 # Connect to the alias or host that matches. If both are given, only connect
116 Run Keyword If
121 ... Return From Keyword If ${alias_match} and ${host_match}
122 ... ELSE Run Keyword If
127 ... Return From Keyword If ${alias_match}
128 ... ELSE Run Keyword If
133 ... Return From Keyword If ${host_match}
135 # If no connections are found, open a connection with the provided args.