From bad230ba2605c79a085459b5aee695c7c0e95386 Mon Sep 17 00:00:00 2001 From: Adit Sarfaty Date: Tue, 28 Aug 2018 09:33:46 +0300 Subject: [PATCH] NSX|V3 adminUtils: Use nsx plugin to get ports While lising the neutron ports to seach for mismatches, the NSX plugin should be used so all the attributes are populated. Change-Id: I2ffa8204d8c1c419b8c7b9066f5e7b29fb1bc71a --- vmware_nsx/shell/admin/plugins/nsxv3/resources/ports.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vmware_nsx/shell/admin/plugins/nsxv3/resources/ports.py b/vmware_nsx/shell/admin/plugins/nsxv3/resources/ports.py index d232b49ca0..92ba758c5e 100644 --- a/vmware_nsx/shell/admin/plugins/nsxv3/resources/ports.py +++ b/vmware_nsx/shell/admin/plugins/nsxv3/resources/ports.py @@ -75,7 +75,7 @@ def list_missing_ports(resource, event, trigger, **kwargs): admin_cxt = neutron_context.get_admin_context() filters = v3_utils.get_plugin_filters(admin_cxt) nsxlib = v3_utils.get_connected_nsxlib() - with PortsPlugin() as plugin: + with v3_utils.NsxV3PluginWrapper() as plugin: problems = plugin_utils.get_mismatch_logical_ports( admin_cxt, nsxlib, plugin, filters)