def get_virtuals_asm_policies(bigip):
    """
        Returns a dict of policy_name --> virtual servers
    """
    params = {
        '$select': 'name,virtualServers,manualVirtualServers',
        # '$filter': "attachedPoliciesReferences/link eq '*'",
    }
    url_base_asm = f'https://{bigip.ip}/mgmt/tm/asm/policies'
    json_data = bigip.get(url_base_asm, params=params)
    json_data['items'][0]['name']
    result = {}
    for d in json_data['items']:
        name = d.get('name')
        result[name] = d.get('virtualServers', [])
    return result