commit f9cdb351c991adca4b0ed5fdcec1dc1d765adbda
Author: Robert Kukura <email address hidden>
Date: Thu Jan 29 17:13:00 2015 -0500
ML2: Use same port binding logic for DVR ports as non-DVR ports
DVR ports are now bound using the same function,
Ml2Plugin._bind_port_if_needed(), that is used to bind non-DVR ports,
so that concurrent binding attempts are properly handled and mechanism
driver update_port_precommit() and update_port_postcommit() methods
are called. The Ml2Plugin._commit_dvr_port_binding() function is
eliminated, and the DvrPortContext class has been folded into the
PortContext class, reducing duplicated logic.
A followup patch will address the duplication of ML2 DB schema for DVR
and further reduce the duplicated and special-case port binding logic
supporting DVR.
Reviewed: https:/ /review. openstack. org/151913 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=f9cdb351c99 1adca4b0ed5fdce c1dc1d765adbda
Committed: https:/
Submitter: Jenkins
Branch: master
commit f9cdb351c991adc a4b0ed5fdcec1dc 1d765adbda
Author: Robert Kukura <email address hidden>
Date: Thu Jan 29 17:13:00 2015 -0500
ML2: Use same port binding logic for DVR ports as non-DVR ports
DVR ports are now bound using the same function, _bind_port_ if_needed( ), that is used to bind non-DVR ports, port_precommit( ) and update_ port_postcommit () methods _commit_ dvr_port_ binding( ) function is
Ml2Plugin.
so that concurrent binding attempts are properly handled and mechanism
driver update_
are called. The Ml2Plugin.
eliminated, and the DvrPortContext class has been folded into the
PortContext class, reducing duplicated logic.
A followup patch will address the duplication of ML2 DB schema for DVR
and further reduce the duplicated and special-case port binding logic
supporting DVR.
Closes-Bug: 1415526
Closes-Bug: 1416783
Partial-Bug: 1367391
Change-Id: Ic32241297c5f8c 67dc77d0af836b1 cc0a5df988a