def delete(table, chain=None, position=None, rule=None, family='ipv4'):

    if position and rule:
        return 'Error: Only specify a position or a rule, not both'

    if position:
        rule = position

    wait = '--wait' if _has_option('--wait', family) else ''
    cmd = '{0} {1} -t {2} -D {3} {4}'.format(
            _iptables_cmd(family), wait, table, chain, rule)
    out = __salt__['cmd.run'](cmd)
    return out
Used by unit tests to reset the drivers.
dataset/ETHPy150Open saltstack/salt/salt/modules/iptables.py/delete--crossover with--dataset/ETHPy150Open nii-cloud/dodai-compute/nova/notifier/list_notifier.py/_reset_drivers