Bump port revision if binding_levels changed
Related-Bug: #2065577 Change-Id: I0d04c3a1dae86a2b6b4ba70c0e9595b2527b4f71
This commit is contained in:
parent
a3d0fb6673
commit
80577381d9
@ -795,6 +795,7 @@ class Ml2Plugin(db_base_plugin_v2.NeutronDbPluginV2,
|
||||
# Expire the "binding_levels" and fetch them into the port.
|
||||
plugin_context.session.flush()
|
||||
getattr(port_db, 'binding_levels')
|
||||
port_db.bump_revision()
|
||||
# refresh context with a snapshot of updated state
|
||||
cur_context._binding = driver_context.InstanceSnapshot(
|
||||
cur_context_binding)
|
||||
|
Loading…
Reference in New Issue
Block a user