]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Add L2 Agent side handling for non consistent security_group settings
authorIrena Berezovsky <irenab@mellanox.com>
Tue, 25 Mar 2014 07:30:17 +0000 (09:30 +0200)
committerMark McClain <mmcclain@yahoo-inc.com>
Tue, 8 Apr 2014 12:15:47 +0000 (08:15 -0400)
commit3ac434d8a6c3370181ce2ea1d334da2cfc85629d
tree7735f98c706b470e7ca64536e9b556f1501581af
parent82eff3762942b3b46490d30eb3fe28dd40a6c607
Add L2 Agent side handling for non consistent security_group settings

Add setting of the firewall_driver to NoopDriver when firewall_driver is None and
add warning if driver combination is not valid.
Modify is_valid_driver_combination to verify default settings: enable_security_group (True) and firewall_driver (None).

Change-Id: I841f9cf96ac6ee2ad17a4e8908d6c8a96f368cca
Closes-Bug: #1296957
(cherry picked from commit 5c6ff449bbd7386f0f3e41efc524024434f325df)
neutron/agent/securitygroups_rpc.py
neutron/tests/unit/test_security_groups_rpc.py