code: def get_cluster_quote_list():
      data = request.get_json()
      user_report_data = data.get("user_report_data")
      quote_list = []
  
      try:
          quote_b = quote_generator.generate_tdx_quote(user_report_data)
          quote = base64.b64encode(quote_b).decode("utf-8")
          quote_list.append(("launcher", quote))
      except Exception as e:
          quote_list.append(
              "launcher", "quote generation failed: %s" % (e)
          )
  
      command = (
          "sudo -u mpiuser -E bash /ppml/get_worker_quote.sh %s"
          % (shlex.quote(user_report_data))
      )
      output = subprocess.check_output(command, shell=True)
  
      with open("/ppml/output/quote.log", "r") as quote_file:
          for line in quote_file:
              line = line.strip()
              if line:
                  parts = line.split(":")
                  if len(parts) == 2:
                      quote_list.append(
                          (parts[0].strip(), parts[1].strip())
                      )
      return {"quote_list": dict(quote_list)}
  
file_path: BigDL/ppml/tdx/docker/trusted-bigdl-llm/finetune/docker/bigdl_aa.py
imports: import quote_generator
  from flask import Flask, request
  from configparser import ConfigParser
  import ssl, os
  import base64
  import requests
  import subprocess
  import shlex
label_desc: Use image node_id 2 for calling a global function with example usage: get_cluster_quote_list() and returns: dict