From 99deb2275a16dcfcfb24c69a8d6464fe95043056 Mon Sep 17 00:00:00 2001 From: asarfaty Date: Tue, 30 Jun 2020 06:04:14 +0200 Subject: [PATCH] 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 --- vmware_nsx/plugins/nsx_p/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vmware_nsx/plugins/nsx_p/plugin.py b/vmware_nsx/plugins/nsx_p/plugin.py index 3758806992..62849eeae3 100644 --- a/vmware_nsx/plugins/nsx_p/plugin.py +++ b/vmware_nsx/plugins/nsx_p/plugin.py @@ -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)