def parse_multipath(rule):
    parser = argparse.ArgumentParser()
    rules = shlex.split(rule)
    rules.pop(0)
    parser.add_argument('--name', dest='name', action='store')
    parser.add_argument('--device', dest='device', action='store')
    parser.add_argument('--rule', dest='rule', action='store')

    args = clean_args(vars(parser.parse_args(rules)))
    parser = None
    return args
Turn 'ffffff', into (0xff, 0xff, 0xff).
dataset/ETHPy150Open saltstack/salt/salt/utils/kickstart.py/parse_multipath--crossover with--dataset/ETHPy150Open jonathanslenders/python-prompt-toolkit/prompt_toolkit/terminal/vt100_output.py/_EscapeCodeCache._color_name_to_rgb