Merge "[sqlalchemy-20] Add reader context to `get_ports_on_host_by_subnet`"

This commit is contained in:
Zuul 2023-04-14 15:35:12 +00:00 committed by Gerrit Code Review
commit cda5107e65

View File

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