def _bsd_delif(br, iface):
    kernel = __grains__['kernel']
    if kernel == 'NetBSD':
        cmd = _tool_path('brconfig')
        brcmd = 'delete'
    else:
        cmd = _tool_path('ifconfig')
        brcmd = 'deletem'

    if not br or not iface:
        return False

    return __salt__['cmd.run']('{0} {1} {2} {3}'.format(cmd, br, brcmd, iface),
                               python_shell=False)
Internal, removes an interface from a bridge
dataset/ETHPy150Open saltstack/salt/salt/modules/bridge.py/_bsd_delif