def get_gateway_services(cluster):
    ret_gw_services = {"L2GatewayServiceConfig": [],
                       "L3GatewayServiceConfig": []}
    gw_services = nvplib.get_gateway_services(cluster).get('results')
    if gw_services:
        for gw_service in gw_services:
            ret_gw_services[gw_service['type']].append(gw_service['uuid'])

    return ret_gw_services