Pass result dict to extensions by create port bulk

The create ports in bulk code in the ML2 plugin is passing to the
extension drivers a DB object for each port created. Per the ML2
extension drivers API definition in [0], what should be passed instead
is the result dictionary of each created port. This change fixes the
mismatch.

[0] 478502b3df/neutron_lib/plugins/ml2/api.py (L1142)

Change-Id: I6abecfbde525279fbfd4b9e27e0d1803311a7f96
changes/40/704240/3
Miguel Lavalle 3 years ago
parent 2b37d94619
commit 2e316157ed
  1. 2
      neutron/plugins/ml2/plugin.py

@ -1531,7 +1531,7 @@ class Ml2Plugin(db_base_plugin_v2.NeutronDbPluginV2,
# Activities immediately post-port-creation
self.extension_manager.process_create_port(context, pdata,
db_port_obj)
port_dict)
self._portsec_ext_port_create_processing(context, port_dict,
port_compat)

Loading…
Cancel
Save