'Get relevent details from configuration file.'

def _get_attributes_from_config(self):

    if hasattr(self.configuration, 'cinder_dell_emc_config_file'):
        self.pool_info['config_file'] = self.configuration.cinder_dell_emc_config_file
    else:
        self.pool_info['config_file'] = self.configuration.safe_get('cinder_dell_emc_config_file')
    self.interval = self.configuration.safe_get('interval')
    self.retries = self.configuration.safe_get('retries')
    self.pool_info['backend_name'] = self.configuration.safe_get('volume_backend_name')
    self.pool_info['max_over_subscription_ratio'] = self.configuration.safe_get('max_over_subscription_ratio')
    self.pool_info['reserved_percentage'] = self.configuration.safe_get('reserved_percentage')
    LOG.debug('Updating    volume    stats    on    file    %(emcConfigFileName)s    on    backend    %(backendName)s.', {'emcConfigFileName': self.pool_info['config_file'], 'backendName': self.pool_info['backend_name']})
