def parse_zfcp(rule):
    parser = argparse.ArgumentParser()
    rules = shlex.split(rule)
    rules.pop(0)
    parser.add_argument('--devnum', dest='devnum', action='store')
    parser.add_argument('--fcplun', dest='fcplun', action='store')
    parser.add_argument('--wwpn', dest='wwpn', action='store')

    args = clean_args(vars(parser.parse_args(rules)))
    parser = None
    return args
Parse the zfcp line
dataset/ETHPy150Open saltstack/salt/salt/utils/kickstart.py/parse_zfcp