cterasdk.edge.shell module

cterasdk.edge.shell module#

class cterasdk.edge.shell.Shell(edge)#

Bases: BaseCommand

Edge Filer Shell command

run_command(shell_command, wait=True)#

Execute a Shell Command.

Parameters:
  • shell_command (str) – The shell command to execute

  • wait (bool,optional) – Wait for the command to execute, defaults to True

Returns:

The command result, or the task url path when wait equals False