Merge "NSX|V3 update port revision on update_port response"
This commit is contained in:
commit
7b12570a7a
@ -3543,6 +3543,11 @@ class NsxV3Plugin(agentschedulers_db.AZDhcpAgentSchedulerDbMixin,
|
||||
if cfg.CONF.nsx_v3.native_dhcp_metadata:
|
||||
self._update_dhcp_binding(context, original_port, updated_port)
|
||||
|
||||
# Make sure the port revision is updated
|
||||
if 'revision_number' in updated_port:
|
||||
port_model = self._get_port(context, id)
|
||||
updated_port['revision_number'] = port_model.revision_number
|
||||
|
||||
# Notifications must be sent after the above transaction is complete
|
||||
kwargs = {
|
||||
'context': context,
|
||||
|
Loading…
x
Reference in New Issue
Block a user