Merge "Remove session flush in nsx v3 plugin"
This commit is contained in:
commit
dc6c85197c
@ -643,8 +643,6 @@ class NsxV3Plugin(addr_pair_db.AllowedAddressPairsMixin,
|
|||||||
self._process_port_create_extra_dhcp_opts(
|
self._process_port_create_extra_dhcp_opts(
|
||||||
context, port_data, dhcp_opts)
|
context, port_data, dhcp_opts)
|
||||||
|
|
||||||
context.session.flush()
|
|
||||||
|
|
||||||
if not self._network_is_external(context, port_data['network_id']):
|
if not self._network_is_external(context, port_data['network_id']):
|
||||||
lport = self._create_port_at_the_backend(
|
lport = self._create_port_at_the_backend(
|
||||||
context, neutron_db, port_data,
|
context, neutron_db, port_data,
|
||||||
|
Loading…
Reference in New Issue
Block a user