NSX-V: make sure error fw can be deleted
Change-Id: Ia86ccc7906ff58b35dccb01f4c165822b9dbf2a9
This commit is contained in:
parent
da500f1e84
commit
6207386f9d
@ -25,7 +25,6 @@ from neutron_fwaas.services.firewall.agents.l3reference \
|
|||||||
import firewall_l3_agent
|
import firewall_l3_agent
|
||||||
from neutron_lib import constants as nl_constants
|
from neutron_lib import constants as nl_constants
|
||||||
from neutron_lib import context as n_context
|
from neutron_lib import context as n_context
|
||||||
from neutron_lib.exceptions import firewall_v1 as exceptions
|
|
||||||
from neutron_lib.plugins import directory
|
from neutron_lib.plugins import directory
|
||||||
|
|
||||||
LOG = logging.getLogger(__name__)
|
LOG = logging.getLogger(__name__)
|
||||||
@ -77,8 +76,6 @@ class NsxFwaasCallbacks(firewall_l3_agent.L3WithFWaaS):
|
|||||||
context,
|
context,
|
||||||
fw['id'],
|
fw['id'],
|
||||||
nl_constants.ERROR)
|
nl_constants.ERROR)
|
||||||
raise exceptions.FirewallInternalDriverError(
|
|
||||||
driver=self.fwaas_driver.driver_name)
|
|
||||||
return ids
|
return ids
|
||||||
else:
|
else:
|
||||||
return [router['id'] for router in routers_in_proj]
|
return [router['id'] for router in routers_in_proj]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user