'Initialize lock resource names.'

def config_lock(self):

    for key in ['create_ldev', 'create_pair']:
        self.lock[key] = '_'.join([key, self.conf.vsp_storage_id])
    self.lock[_HORCMGR] = ('horcmgr_%s' % self.conf.vsp_horcm_numbers[_HORCMGR])
    self.lock[_PAIR_HORCMGR] = ('horcmgr_%s' % self.conf.vsp_horcm_numbers[_PAIR_HORCMGR])
