After a router delete operation, the attached zone to that
router is also deleted. Got rid of code that tried to do
a get operation on the nuage_zone after router delete
operation.
Closes-Bug: #
1367864
Change-Id: I01753a472200a961cdcecee703616fd3239abd3c
super(NuagePlugin, self).delete_router(context, id)
- nuage_zone = self.nuageclient.get_zone_by_routerid(id)
- if nuage_zone and not self._check_router_subnet_for_tenant(
+ if not self._check_router_subnet_for_tenant(
context, neutron_router['tenant_id']):
user_id, group_id = self.nuageclient.get_usergroup(
neutron_router['tenant_id'],