code: def get_ips(ip_config):
      ips = []
      with open(ip_config) as f:
          for line in f:
              result = line.strip().split()
              if len(result) != 1:
                  raise RuntimeError(
                      "Invalid format of ip_config:{}".format(ip_config)
                  )
              ips.append(result[0])
      return ips
  
imports: import multiprocessing
  import os
  import subprocess
  from typing import Optional
label_desc: Use image node_id 3 for calling a global function with example usage: get_ips(ip_config) and returns: ips