def client_config(client_name, release, egg=None):
    """
    Gets Openstack client config
    :param client_name: Name of client
    :param release: Release
    :param egg: egg name
    :return: Client config
    """
    return dict(name=client_name, release=release, url=
        'https://raw.githubusercontent.com/openstack/python-{}client/{}/tox.ini'
        .format(client_name, release), egg=egg if egg else
        'python-{}client'.format(client_name))
