Merge "Remove session flush in nsx v3 plugin"

This commit is contained in:
Jenkins 2015-10-29 01:49:12 +00:00 committed by Gerrit Code Review
commit dc6c85197c

View File

@ -643,8 +643,6 @@ class NsxV3Plugin(addr_pair_db.AllowedAddressPairsMixin,
self._process_port_create_extra_dhcp_opts(
context, port_data, dhcp_opts)
context.session.flush()
if not self._network_is_external(context, port_data['network_id']):
lport = self._create_port_at_the_backend(
context, neutron_db, port_data,