'Check parameter values and consistency among them.'

def check_param(self):

    utils.check_opt_value(self.conf, _INHERITED_VOLUME_OPTS)
    utils.check_opts(self.conf, common_opts)
    utils.check_opts(self.conf, self.driver_info['volume_opts'])
    if ((self.conf.vsp_default_copy_method == 'THIN') and (not self.conf.vsp_thin_pool)):
        msg = utils.output_log(MSG.INVALID_PARAMETER, param='vsp_thin_pool')
        raise exception.VSPError(msg)
    if self.conf.vsp_ldev_range:
        self.storage_info['ldev_range'] = self._range2list('vsp_ldev_range')
    if ((not self.conf.vsp_target_ports) and (not self.conf.vsp_compute_target_ports)):
        msg = utils.output_log(MSG.INVALID_PARAMETER, param='vsp_target_ports    or    vsp_compute_target_ports')
        raise exception.VSPError(msg)
    for opt in _REQUIRED_COMMON_OPTS:
        if (not self.conf.safe_get(opt)):
            msg = utils.output_log(MSG.INVALID_PARAMETER, param=opt)
            raise exception.VSPError(msg)
    if (self.storage_info['protocol'] == 'iSCSI'):
        self.check_param_iscsi()
