From: Assaf Muller Date: Mon, 12 Oct 2015 20:32:12 +0000 (-0400) Subject: Fix error code when L3 HA + DVR router is created or updated X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=033bc5a45ab5aa0661e1b46049b990adc29c9df5;p=openstack-build%2Fneutron-build.git Fix error code when L3 HA + DVR router is created or updated Change-Id: I1b9a07aaf6957f062cd8632c7ca8b9d87c4afe20 Closes-Bug: #1505382 --- diff --git a/neutron/extensions/l3_ext_ha_mode.py b/neutron/extensions/l3_ext_ha_mode.py index a2a3b859d..ef60ba7bd 100644 --- a/neutron/extensions/l3_ext_ha_mode.py +++ b/neutron/extensions/l3_ext_ha_mode.py @@ -29,7 +29,7 @@ EXTENDED_ATTRIBUTES_2_0 = { } -class DistributedHARouterNotSupported(NotImplementedError): +class DistributedHARouterNotSupported(exceptions.BadRequest): message = _("Currently distributed HA routers are " "not supported.")