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
This commit is contained in:
Miguel Lavalle 2020-01-25 20:22:49 -06:00
parent 2b37d94619
commit 2e316157ed
1 changed files with 1 additions and 1 deletions

View File

@ -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)