NSX|TVD: address metadata subnet request

Ensure that get ports can filter the plugin with the fixed_ips

Change-Id: I013e9e62177e73c47b09df8689929c58b9a80fd1
This commit is contained in:
Zhenmei 2018-05-07 02:28:02 -04:00
parent 6c80fa0c4f
commit ddebb626d8

View File

@ -410,7 +410,8 @@ class NsxTVDPlugin(agentschedulers_db.AZDhcpAgentSchedulerDbMixin,
# plugin
req_p = self._get_plugin_for_request(context, filters,
keys=['device_id',
'network_id'])
'network_id',
'fixed_ips'])
filters = filters or {}
with db_api.context_manager.reader.using(context):
ports = (