summaryrefslogtreecommitdiff
path: root/neutron/db/dvr_mac_db.py
diff options
context:
space:
mode:
Diffstat (limited to 'neutron/db/dvr_mac_db.py')
-rw-r--r--neutron/db/dvr_mac_db.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/neutron/db/dvr_mac_db.py b/neutron/db/dvr_mac_db.py
index 68ec42ae59..4f69ffd995 100644
--- a/neutron/db/dvr_mac_db.py
+++ b/neutron/db/dvr_mac_db.py
@@ -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