Browse Source

NSX|TVD: address metadata subnet request

Ensure that get ports can filter the plugin with the network_id

Change-Id: I876b2f4613c1f6af46d3e53116223d59ef4ba6e8
changes/37/562737/1
Gary Kotton 4 years ago
parent
commit
08cc2d357d
  1. 3
      vmware_nsx/plugins/nsx/plugin.py

3
vmware_nsx/plugins/nsx/plugin.py

@ -409,7 +409,8 @@ class NsxTVDPlugin(agentschedulers_db.AZDhcpAgentSchedulerDbMixin,
# Read project plugin to filter relevant projects according to
# plugin
req_p = self._get_plugin_for_request(context, filters,
keys=['device_id'])
keys=['device_id',
'network_id'])
filters = filters or {}
with db_api.context_manager.reader.using(context):
ports = (

Loading…
Cancel
Save