'Get service parameters.
Get the available service parameters for a given volume using
its type.
:param volume: dictionary volume reference
:returns: Tuple containing the service parameters (label,
export path and export file system) or error if no configuration is
found.
:raises ParameterNotFound:'

def _get_service(self, volume):

    LOG.debug('_get_service:    volume:    %(vol)s', {'vol': volume})
    label = utils.extract_host(volume.host, level='pool')
    if (label in self.config['services'].keys()):
        svc = self.config['services'][label]
        LOG.debug('_get_service:    %(lbl)s->%(svc)s', {'lbl': label, 'svc': svc['export']['fs']})
        service = (svc['hdp'], svc['export']['path'], svc['export']['fs'])
    else:
        LOG.info('Available    services:    %(svc)s', {'svc': self.config['services'].keys()})
        LOG.error('No    configuration    found    for    service:    %(lbl)s', {'lbl': label})
        raise exception.ParameterNotFound(param=label)
    return service
