NSX|P: fix vlan interface removal

replace indirect call the SR removal with a direct one
(The indirect call via _core_plugin also works)

Change-Id: Ie379cbda369f7d45818275294f10e05cb9a7ef3b
This commit is contained in:
asarfaty 2020-06-30 06:04:14 +02:00 committed by Adit Sarfaty
parent f5fb20d1cd
commit 99deb2275a
1 changed files with 1 additions and 1 deletions

View File

@ -3117,7 +3117,7 @@ class NsxPolicyPlugin(nsx_plugin_common.NsxPluginV3Base):
self.nsxpolicy.tier1.remove_segment_interface(
router_id, segment_id)
if not self._core_plugin.service_router_has_services(
if not self.service_router_has_services(
context.elevated(), router_id):
self.delete_service_router(router_id)