def get_request_link(name, service):
    """
    Return a link to a request in a given service
    """
    if service == 'mc':
        return 'https://cms-pdmv.cern.ch/mcm/requests?prepid=%s' % (name)
    if service == 'rereco_machine':
        return 'https://cms-pdmv.cern.ch/rereco/requests?prepid=%s' % (name)
    if service == 'relval_machine':
        return 'https://cms-pdmv.cern.ch/relval/relvals?prepid=%s' % (name)

    return ''