Module Import alias ImportFrom alias Import alias ImportFrom alias identifier ImportFrom alias Assign NameStore ListLoad Call AttributeLoad NameLoad attr Str keyword Num keyword Str Call AttributeLoad NameLoad attr Str keyword Num keyword Str Call AttributeLoad NameLoad attr Str keyword Str keyword Str Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Expr Str decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Expr Str decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Str decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Str decorator_list AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Str decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Expr Str decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad Num body Expr Str decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad Num body Expr Str decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad Num body Expr Str decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad Num body Expr Str decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad Num body Expr Str decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad Num body Expr Str decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Num body Expr Str decorator_list AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Global identifier Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body If UnaryOpNot NameLoad body Raise Call AttributeLoad NameLoad attr Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Expr Call NameLoad Return Call AttributeLoad NameLoad attr decorator_list
N/A N/A abc oslo_config cfg N/A six sahara exceptions ex sahara.i18n _ N/A ssh_opts N/A N/A N/A cfg IntOpt global_remote_threshold default 100 help Maximum number of remote operations that will be running at the same time. Note that each remote operation requires its own process to run. N/A N/A cfg IntOpt cluster_remote_threshold default 70 help The same as global_remote_threshold, but for a single cluster. N/A N/A cfg StrOpt proxy_command default help Proxy command used to connect to instances. If set, this command should open a netcat socket, that Sahara will use for SSH and HTTP connections. Use {host} and {port} to describe the destination. Other available keywords: {tenant_id}, {network_id}, {router_id}. N/A CONF N/A cfg CONF N/A N/A N/A CONF register_opts ssh_opts N/A DRIVER None RemoteDriver N/A object N/A setup_remote N/A N/A self engine N/A N/A N/A Performs driver initialization. N/A N/A abc abstractmethod get_remote N/A N/A self instance N/A N/A N/A Returns driver specific Remote. N/A N/A abc abstractmethod get_userdata_template N/A N/A self N/A N/A N/A Returns userdata template preparing instance to work with driver. N/A N/A abc abstractmethod get_type_and_version N/A N/A self N/A N/A N/A Returns engine type and version

         Result should be in the form 'type.major.minor'.
          N/A N/A abc abstractmethod N/A N/A N/A six add_metaclass N/A abc ABCMeta Remote N/A object N/A get_neutron_info N/A N/A self N/A N/A N/A Returns dict which later could be passed to get_http_client. N/A N/A abc abstractmethod get_http_client N/A N/A self port info N/A None N/A N/A Returns HTTP client for a given instance's port. N/A N/A abc abstractmethod close_http_session N/A N/A self port N/A N/A N/A Closes cached HTTP session for a given instance's port. N/A N/A abc abstractmethod execute_command N/A N/A self cmd run_as_root get_stderr raise_when_error timeout N/A False False True 300 N/A N/A Execute specified command remotely using existing ssh connection.

        Return exit code, stdout data and stderr data of the executed command.
         N/A N/A abc abstractmethod write_file_to N/A N/A self remote_file data run_as_root timeout N/A False 120 N/A N/A Create remote file and write the given data to it.

        Uses existing ssh connection.
         N/A N/A abc abstractmethod append_to_file N/A N/A self r_file data run_as_root timeout N/A False 120 N/A N/A Append the given data to remote file.

        Uses existing ssh connection.
         N/A N/A abc abstractmethod write_files_to N/A N/A self files run_as_root timeout N/A False 120 N/A N/A Copy file->data dictionary in a single ssh connection. N/A N/A abc abstractmethod append_to_files N/A N/A self files run_as_root timeout N/A False 120 N/A N/A Copy file->data dictionary in a single ssh connection. N/A N/A abc abstractmethod read_file_from N/A N/A self remote_file run_as_root timeout N/A False 120 N/A N/A Read remote file from the specified host and return given data. N/A N/A abc abstractmethod replace_remote_string N/A N/A self remote_file old_str new_str timeout N/A 120 N/A N/A Replaces strings in remote file using sed command. N/A N/A abc abstractmethod N/A N/A N/A six add_metaclass N/A abc ABCMeta setup_remote N/A N/A driver engine N/A N/A N/A DRIVER N/A DRIVER driver N/A N/A N/A DRIVER setup_remote engine N/A get_remote_type_and_version N/A N/A N/A N/A N/A N/A N/A DRIVER get_type_and_version N/A _check_driver_is_loaded N/A N/A N/A N/A N/A N/A DRIVER N/A N/A N/A N/A ex SystemError N/A _ Remote driver is not loaded. Most probably you see this error because you are running Sahara in distributed mode and it is broken.Try running sahara-all instead. N/A get_remote N/A N/A instance N/A N/A N/A Returns Remote for a given instance. N/A N/A _check_driver_is_loaded N/A N/A N/A DRIVER get_remote instance N/A get_userdata_template N/A N/A N/A N/A N/A Returns userdata template as a string. N/A N/A _check_driver_is_loaded N/A N/A N/A DRIVER get_userdata_template N/A