While plugging vif, VIFDriver in Nova follows "ovs_hybrid_plug" and
"port_filter" in "binding:vif_detail" which is passed from Neutron, but
those are always true. This patch make ML2 OVS mech driver set those
param depends on enable_security_group flag. It enables users to avoid
ovs_hybrid plugging.
This patch also fixes the same issue in the following plugins/drivers:
* NEC Plugin
* BigSwitch Plugin
* Ryu Plugin
* ML2 Plugin - OFAgent Mech Driver
Reviewed: https:/ /review. openstack. org/133421 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=506bd949183 7cffbdaf63843e5 ec108f717588d3
Committed: https:/
Submitter: Jenkins
Branch: stable/icehouse
commit 506bd9491837cff bdaf63843e5ec10 8f717588d3
Author: Ryota MIBU <email address hidden>
Date: Thu Jul 3 00:10:32 2014 +0900
Set vif_details to reflect enable_ security_ group
While plugging vif, VIFDriver in Nova follows "ovs_hybrid_plug" and vif_detail" which is passed from Neutron, but security_ group flag. It enables users to avoid
"port_filter" in "binding:
those are always true. This patch make ML2 OVS mech driver set those
param depends on enable_
ovs_hybrid plugging.
This patch also fixes the same issue in the following plugins/drivers:
* NEC Plugin
* BigSwitch Plugin
* Ryu Plugin
* ML2 Plugin - OFAgent Mech Driver
Conflicts: tests/unit/ ml2/drivers/ test_ofagent_ mech.py
neutron/
Closes-Bug: #1336624 30ad65289307b24 fd28b996e1b 59ecee7f29f864a 10db475444)
Change-Id: I2b7fb526a6f1b7
(cherry picked from commit e73f8da072cb415