|
|
|
getDefaultCommandTimeout(self)
Get default command timeout declared in globalSettings.xml |
source code
|
|
|
|
|
|
|
getOsType(self)
Returns the type of the operating system running on the target host
to which the shell client is connected |
source code
|
|
|
|
|
|
|
getOsVersion(self)
Get version of the OS running on the target host to which the shell
client is connected |
source code
|
|
|
|
|
|
|
|
|
|
|
useCharset(self,
charsetName)
Use specified character set for command encoding and output decoding
in raw client |
source code
|
|
|
getShellStatusVar(self)
Returns the shell command exit status code |
source code
|
|
|
getCommandSeparator(self)
Get command separator depending on OS type |
source code
|
|
|
|
|
__addAlternateCmd(self,
cmd,
expectedReturnCode=None,
sucessString=None,
failureString=None)
Add alternative command to execute list |
source code
|
|
|
|
|
__execCmdSet(self,
timeout=0)
Go over all alternative commands list and execute each until the first successful command termination. |
source code
|
|
|
|
|
|
|
|
|
|
|
execCmd(self,
cmdLine,
timeout=0,
waitForTimeout=0,
useSudo=1,
checkErrCode=1,
useCache=0,
preserveSudoContext=0)
Executes a shell command and sets the exit status of the command. |
source code
|
|
|
_execute(self,
command)
Template method for derived shells for exact command execution |
source code
|
|
|
execCmdAsBytes(self,
cmdLine,
timeout=0,
waitForTimeout=0,
useSudo=1)
Get raw data as list of bytes. |
source code
|
|
|
resolveHost(self,
hostName,
nodeClassName='node')
Create host CI with IP as key resolved by host name |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
closeClient(self)
Perform cleaning of temporary data on destination system and close
the client |
source code
|
|
|
|
|
canCopyFile(self)
Indicates whether client can copy files to the remote system |
source code
|
|
|
|
|
|
|
|
|
executeCommandAndDecode(self,
cmd,
keyword,
framework,
timeout=0,
waitForTimeout=0,
useSudo=1,
language=None)
Execute command and try to decode output using predefined charsets. |
source code
|
|
|
getCharsetName(self)
Get name of the character set for the latest command execution |
source code
|
|