Remove "update_device_up" parameter from port notification

The parameter "update_device_up" was introduced in [1] to be used in
method "_notify_l3_agent_new_port", but this parameter was deprecated
in [2].

[1] https://review.opendev.org/#/c/153775/
[2] https://review.opendev.org/#/c/270462/

Trivial-Fix

Change-Id: Ib6bd10544cda2cad6a60fd7bdd31dfc39185746e
This commit is contained in:
Rodolfo Alonso Hernandez 2020-01-19 18:33:09 +00:00
parent 79cb971251
commit 89f138fa41
1 changed files with 0 additions and 6 deletions

View File

@ -2164,12 +2164,6 @@ class Ml2Plugin(db_base_plugin_v2.NeutronDbPluginV2,
self.mechanism_manager.update_port_postcommit(mech_context)
kwargs = {'context': context, 'port': mech_context.current,
'original_port': original_port}
if status == const.PORT_STATUS_ACTIVE:
# NOTE(kevinbenton): this kwarg was carried over from
# the RPC handler that used to call this. it's not clear
# who uses it so maybe it can be removed. added in commit
# 3f3874717c07e2b469ea6c6fd52bcb4da7b380c7
kwargs['update_device_up'] = True
registry.notify(resources.PORT, events.AFTER_UPDATE, self,
**kwargs)