'Validates the configuration information.'

def check_for_setup_error(self):

    with self._client.open_connection() as api:
        api.find_sc()
        self.is_direct_connect = api.is_direct_connect
        if (self.is_direct_connect and self.replication_enabled):
            msg = _('Dell    Cinder    driver    configuration    error    replication    not    supported    with    direct    connect.')
            raise exception.InvalidHost(reason=msg)
        if (self.replication_enabled and (not self.failed_over)):
            for backend in self.backends:
                replssn = backend['target_device_id']
                try:
                    api.find_sc(int(replssn))
                except exception.VolumeBackendAPIException:
                    msg = (_('Dell    Cinder    driver    configuration    error    replication_device    %s    not    found') % replssn)
                    raise exception.InvalidHost(reason=msg)
