def METHOD_NAME(client, args):
    response = client.RunNetworkTests(
        magmad_pb2.NetworkTestRequest(
            traceroutes=[
                magmad_pb2.TracerouteParams(
                    host_or_ip=host,
                    max_hops=args.max_hops,
                    bytes_per_packet=args.bytes,
                ) for host in args.hosts
            ],
        ),
    )
    print(response)