# Path: apic_ml2/neutron/plugins/ml2/drivers/cisco/apic/exceptions.py
# class ReservedSynchronizationName(n_exc.BadRequest):


from neutron import manager
from neutron.plugins.ml2 import managers
from neutron.plugins.ml2 import plugin
from apic_ml2.neutron.plugins.ml2.drivers.cisco.apic import exceptions
    exception by mechanism drivers to propagate up to upper layer so
    that upper layer can handle it or error in ML2 player
    :raises: neutron.plugins.ml2.common.MechanismDriverError
    if any mechanism driver call fails. or DB retriable error when
    raise_db_retriable=False. See neutron.db.api.is_retriable for
    what db exception is retriable
    """
    errors = []
    for driver in (apic_stashed_get_plugin().mechanism_manager.
                   ordered_mech_drivers):
        try:
            getattr(driver.obj, method_name)(context)
        except Exception as e:
            if raise_db_retriable and managers.db_api.is_retriable(e):
                with managers.excutils.save_and_reraise_exception():
                    managers.LOG.debug(
                        "DB exception raised by Mechanism driver "
                        "'%(name)s' in %(method)s",
                        {'name': driver.name, 'method': method_name},
                        exc_info=e)
            managers.LOG.exception(
                managers._LE("Mechanism driver '%(name)s'"
                             "failed in %(method)s"),
                {'name': driver.name, 'method': method_name}
            )
            errors.append(e)
            if not continue_on_failure:
                break
    if errors:
        for error in errors:

# Path: apic_ml2/neutron/plugins/ml2/drivers/cisco/apic/exceptions.py
# class ReservedSynchronizationName(n_exc.BadRequest):


# Path: apic_ml2/neutron/plugins/ml2/drivers/cisco/apic/patch.py
from neutron import manager
from neutron.plugins.ml2 import managers
from neutron.plugins.ml2 import plugin
from apic_ml2.neutron.plugins.ml2.drivers.cisco.apic import exceptions

    exception by mechanism drivers to propagate up to upper layer so
    that upper layer can handle it or error in ML2 player
    :raises: neutron.plugins.ml2.common.MechanismDriverError
    if any mechanism driver call fails. or DB retriable error when
    raise_db_retriable=False. See neutron.db.api.is_retriable for
    what db exception is retriable
    """
    errors = []
    for driver in (apic_stashed_get_plugin().mechanism_manager.
                   ordered_mech_drivers):
        try:
            getattr(driver.obj, method_name)(context)
        except Exception as e:
            if raise_db_retriable and managers.db_api.is_retriable(e):
                with managers.excutils.save_and_reraise_exception():
                    managers.LOG.debug(
                        "DB exception raised by Mechanism driver "
                        "'%(name)s' in %(method)s",
                        {'name': driver.name, 'method': method_name},
                        exc_info=e)
            managers.LOG.exception(
                managers._LE("Mechanism driver '%(name)s'"
                             "failed in %(method)s"),
                {'name': driver.name, 'method': method_name}
            )
            errors.append(e)
            if not continue_on_failure:
                break
    if errors:
        for error in errors:

            if isinstance(error, exceptions.ReservedSynchronizationName):