<s> from cloudferry . lib . base . action import action <EOL> from cloudferry . lib . utils . ssh_util import SshUtil <EOL> class RemoteExecution ( action . Action ) : <EOL> def __init__ ( self , cloud , host = None , int_host = None , config_migrate = None ) : <EOL> self . cloud = cloud <EOL> self . host = host <EOL> self . int_host = int_host <EOL> self . config_migrate = config_migrate <EOL> self . remote_exec_obj = SshUtil ( self . cloud , <EOL> self . config_migrate , <EOL> self . host ) <EOL> super ( RemoteExecution , self ) . __init__ ( { } ) <EOL> def run ( self , command , ** kwargs ) : <EOL> self . remote_exec_obj . execute ( command , self . int_host ) <EOL> return { } </s>
