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
This commit is contained in:
Adit Sarfaty 2018-08-28 09:33:46 +03:00
parent 9d99f0f06d
commit bad230ba26
1 changed files with 1 additions and 1 deletions

View File

@ -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)