code: def parse_virtualbox_attached_usb_devices(vm_uuid):
      output = subprocess.check_output(
          ["VBoxManage", "showvminfo", "--machinereadable", vm_uuid],
          encoding="utf-8",
      )
  
      r = re.compile(VIRTUALBOX_USB_DEVICE_RE)
      attached_usb_devices = r.findall(output, re.MULTILINE)
  
      # List of couples (VendorId, ProductId) for all attached USB devices
      return attached_usb_devices
  
imports: import argparse
  import copy
  import json
  import logging
  import pathlib
  import os
  import re
  import shlex
  import shutil
  import subprocess
  import sys
  import pathlib
label_desc: Use image node_id 2 for calling a global function with example usage: parse_virtualbox_attached_usb_devices(vm_uuid) and returns: attached_usb_devices