def _require_mech(f):
    @wraps(f)
    def wrapped(self, *args, **kwargs):
        if not self._chosen_mech:
            raise SASLError("A mechanism has not been chosen yet")
        return f(self, *args, **kwargs)

    return wrapped
Removes a vlan to vni mapping for the interface
dataset/ETHPy150Open thobbs/pure-sasl/puresasl/client.py/_require_mech--crossover with--dataset/ETHPy150Open arista-eosplus/pyeapi/pyeapi/api/interfaces.py/VxlanInterface.remove_vlan