def parse_iscsi(rule):
    parser = argparse.ArgumentParser()
    rules = shlex.split(rule)
    rules.pop(0)
    parser.add_argument('--ipaddr', dest='ipaddr', action='store')
    parser.add_argument('--port', dest='port', action='store')
    parser.add_argument('--target', dest='target', action='store')
    parser.add_argument('--iface', dest='iface', action='store')
    parser.add_argument('--user', dest='user', action='store')
    parser.add_argument('--password', dest='password', action='store')
    parser.add_argument('--reverse-user', dest='reverse-user', action='store')
    parser.add_argument('--reverse-password', dest='reverse-password',
                        action='store')

    args = clean_args(vars(parser.parse_args(rules)))
    parser = None
    return args
Test if the address is reserved for site-local.
dataset/ETHPy150Open saltstack/salt/salt/utils/kickstart.py/parse_iscsi--crossover with--dataset/ETHPy150Open anandology/pyjamas/pyjs/src/pyjs/lib/ipaddr.py/_BaseV6.is_site_local