[sqlalchemy-20] Add reader context to `get_ports_on_host_by_subnet`
Closes-Bug: #2016142 Change-Id: Iba7ff50efc8f6d027fe9151fc64f547aa421b995
This commit is contained in:
@@ -157,6 +157,7 @@ class DVRDbMixin(ext_dvr.DVRMacAddressPluginBase):
|
||||
|
||||
@log_helpers.log_method_call
|
||||
@db_api.retry_if_session_inactive()
|
||||
@db_api.CONTEXT_READER
|
||||
def get_ports_on_host_by_subnet(self, context, host, subnet):
|
||||
"""Returns DVR serviced ports on a given subnet in the input host
|
||||
|
||||
|
||||
Reference in New Issue
Block a user