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

    args = clean_args(vars(parser.parse_args(rules)))
    parser = None
    return args
Called by dhcp-bridge when ip is released.
dataset/ETHPy150Open saltstack/salt/salt/utils/kickstart.py/parse_group--crossover with--dataset/ETHPy150Open nii-cloud/dodai-compute/nova/network/manager.py/NetworkManager.release_fixed_ip