NSX|TVD: address metadata subnet request
Ensure that get ports can filter the plugin with the network_id Change-Id: I876b2f4613c1f6af46d3e53116223d59ef4ba6e8
This commit is contained in:
parent
5119fd0355
commit
08cc2d357d
@ -409,7 +409,8 @@ class NsxTVDPlugin(agentschedulers_db.AZDhcpAgentSchedulerDbMixin,
|
|||||||
# Read project plugin to filter relevant projects according to
|
# Read project plugin to filter relevant projects according to
|
||||||
# plugin
|
# plugin
|
||||||
req_p = self._get_plugin_for_request(context, filters,
|
req_p = self._get_plugin_for_request(context, filters,
|
||||||
keys=['device_id'])
|
keys=['device_id',
|
||||||
|
'network_id'])
|
||||||
filters = filters or {}
|
filters = filters or {}
|
||||||
with db_api.context_manager.reader.using(context):
|
with db_api.context_manager.reader.using(context):
|
||||||
ports = (
|
ports = (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user