Browse Source

Merge "Fix is_port_bound function in l3_dvr_db module" into stable/queens

changes/67/723667/1
Zuul 2 months ago
committed by Gerrit Code Review
parent
commit
ba08ef0bb4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      neutron/db/l3_dvr_db.py

+ 1
- 1
neutron/db/l3_dvr_db.py View File

@@ -59,7 +59,7 @@ l3_dvr_db.register_db_l3_dvr_opts()

# TODO(slaweq): this should be moved to neutron_lib.plugins.utils module
def is_port_bound(port):
if port.port_binding:
if not port.port_binding:
LOG.warning("Binding for port %s was not found.", port)
return False
return port.port_binding[portbindings_extended.VIF_TYPE] not in [


Loading…
Cancel
Save