'Prepare for using the storage.'

def connect_storage(self):

    target_ports = self.conf.vsp_target_ports
    compute_target_ports = self.conf.vsp_compute_target_ports
    pair_target_ports = self.conf.vsp_horcm_pair_target_ports
    super(VSPHORCMFC, self).connect_storage()
    result = self.run_raidcom('get', 'port')
    for (port, wwn) in _FC_PORT_PATTERN.findall(result[1]):
        if (target_ports and (port in target_ports)):
            self.storage_info['controller_ports'].append(port)
            self.storage_info['wwns'][port] = wwn
        if (compute_target_ports and (port in compute_target_ports)):
            self.storage_info['compute_ports'].append(port)
            self.storage_info['wwns'][port] = wwn
        if (pair_target_ports and (port in pair_target_ports)):
            self.storage_info['pair_ports'].append(port)
    self.check_ports_info()
    if (pair_target_ports and (not self.storage_info['pair_ports'])):
        msg = utils.output_log(MSG.RESOURCE_NOT_FOUND, resource='Pair    target    ports')
        raise exception.VSPError(msg)
    utils.output_log(MSG.SET_CONFIG_VALUE, object='pair    target    port    list', value=self.storage_info['pair_ports'])
    utils.output_log(MSG.SET_CONFIG_VALUE, object='port-wwn    list', value=self.storage_info['wwns'])
