LOG.error(_("Error running SSH command: %s") % command)
def _eql_execute(self, *args, **kwargs):
- return self._run_ssh(
- args, attempts=self.configuration.eqlx_cli_max_retries)
+ return self._run_ssh(
+ args, attempts=self.configuration.eqlx_cli_max_retries)
def _get_volume_data(self, lines):
prefix = 'iSCSI target name is '
GB = math.pow(2, 30)
def __init__(self, *args, **kwargs):
- super(SolidFireDriver, self).__init__(*args, **kwargs)
- self.configuration.append_config_values(sf_opts)
- try:
- self._update_cluster_status()
- except exception.SolidFireAPIException:
- pass
+ super(SolidFireDriver, self).__init__(*args, **kwargs)
+ self.configuration.append_config_values(sf_opts)
+ try:
+ self._update_cluster_status()
+ except exception.SolidFireAPIException:
+ pass
def _issue_api_request(self, method_name, params, version='1.0'):
"""All API requests to SolidFire device go through this method.