code: def parse_iscsiname(rule):
      '''
      Parse the iscsiname line
      '''
      parser = argparse.ArgumentParser()
      rules = shlex.split(rule)
      rules.pop(0)
      #parser.add_argument('iqn')
  
      args = clean_args(vars(parser.parse_args(rules)))
      parser = None
      return argf parse_iscsiname(rule):
      '''
      Parse the iscsiname line
      '''
      parser = argparse.ArgumentParser()
      rules = shlex.split(rule)
      rules.pop(0)
      #parser.add_argument('iqn')
  
      args = clean_args(vars(parser.parse_args(rules)))
      parser = None
      return args
docs: Parse the iscsiname line