text: #!/usr/bin/env python3
  import os
  import json
  import argparse
  import sys
  global volId
  global ioType
  global bwValue
  global iopsValue
  global group_report
  global fio_output_file
  
  file_path = os.path.dirname(os.path.abspath(__file__))
  
  parser = argparse.ArgumentParser(description='Please add fio option to fio_full_bench.    py')
  parser.add_argument('-v', '--volId', required=True, help='Pass this info for reading the volId to parse')
  parser.add_argument('-t', '--ioType', required=True, help='ioType read/write/mixed')
  parser.add_argument('-g', '--groupReport', required=True, help='Json logged as group report = 1 or 0')
  
  args = parser.parse_args()
  if(args.volId is not None):
      volId = int(args.volId, 0)
  
  if(args.ioType is not None):
      ioType = args.ioType
  
  if(args.groupReport is not None):
      group_report = int(args.groupReport, 0)
  
  if(group_report == 1):
      job_pos=0
  else:
      job_pos=volId
  
  fio_output_file = str(file_path) + "/fio_output.json"
  
  with open(str(fio_output_file)) as jsonFile:
      data = json.load(jsonFile)
      jsonFile.close()
      if(ioType == "read" or ioType == "randread"):
          bwValue = data['jobs'][job_pos]['read']['bw']
          iopsValue = data['jobs'][job_pos]['read']['iops']
          print("Read_Bandwidth")
          print(bwValue)
          print("Read_IOPS")
          print(iopsValue)
      if(ioType == "write" or ioType == "randwrite"):
          bwValue = data['jobs'][job_pos]['write']['bw']
          iopsValue = data['jobs'][job_pos]['write']['iops']
          print("Write_Bandwidth")
          print(bwValue)
          print("Write_IOPS")
          print(iopsValue)
      if(ioType == "readwrite"):
          bwValue = data['jobs'][job_pos]['read']['bw']
          iopsValue = data['jobs'][job_pos]['read']['iops']
          print("Read_Bandwidth")
          print(bwValue)
          print("Read_IOPS")
          print(iopsValue)
          bwValue = data['jobs'][job_pos]['write']['bw']
          iopsValue = data['jobs'][job_pos]['write']['iops']
          print("Write_Bandwidth")
          print(bwValue)
          print("Write_IOPS")
          print(iopsValue)
  
  