NSX-V: make sure error fw can be deleted

Change-Id: Ia86ccc7906ff58b35dccb01f4c165822b9dbf2a9
This commit is contained in:
Adit Sarfaty 2018-02-06 23:37:18 +02:00
parent da500f1e84
commit 6207386f9d

View File

@ -25,7 +25,6 @@ from neutron_fwaas.services.firewall.agents.l3reference \
import firewall_l3_agent
from neutron_lib import constants as nl_constants
from neutron_lib import context as n_context
from neutron_lib.exceptions import firewall_v1 as exceptions
from neutron_lib.plugins import directory
LOG = logging.getLogger(__name__)
@ -77,8 +76,6 @@ class NsxFwaasCallbacks(firewall_l3_agent.L3WithFWaaS):
context,
fw['id'],
nl_constants.ERROR)
raise exceptions.FirewallInternalDriverError(
driver=self.fwaas_driver.driver_name)
return ids
else:
return [router['id'] for router in routers_in_proj]