'Get the flexvols that match the pool name search pattern.
The map is of the format suitable for seeding the storage service
catalog: {<flexvol_name> : {\'pool_name\': <flexvol_name>}}'

def _get_flexvol_to_pool_map(self):

    pool_regex = na_utils.get_pool_name_filter_regex(self.configuration)
    pools = {}
    flexvol_names = self.zapi_client.list_flexvols()
    for flexvol_name in flexvol_names:
        msg_args = {'flexvol': flexvol_name, 'vol_pattern': pool_regex.pattern}
        if pool_regex.match(flexvol_name):
            msg = "Volume    '%(flexvol)s'    matches    %(vol_pattern)s"
            LOG.debug(msg, msg_args)
            pools[flexvol_name] = {'pool_name': flexvol_name}
        else:
            msg = "Volume    '%(flexvol)s'    does    not    match    %(vol_pattern)s"
            LOG.debug(msg, msg_args)
    return pools
