]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Avoid refreshing firewall rules unnecessarily.
authorCarl Baldwin <carl.baldwin@hp.com>
Tue, 16 Jul 2013 18:10:37 +0000 (18:10 +0000)
committerCarl Baldwin <carl.baldwin@hp.com>
Fri, 19 Jul 2013 18:25:20 +0000 (18:25 +0000)
commit59fe0711dfd551739d5f5f98d05ffaf329467c07
treef845c9b42ed0810b0ccc3ee65aa9236864048261
parentc9714262eeb02058d7cf518c1791c6f4efb62441
Avoid refreshing firewall rules unnecessarily.

Adds a parameter to refresh_firewall allowing an array of ports to
be passed.  If an array is passed then the firewall will be refreshed
only for those ports.  If not passed, it will still refresh all
ports as it did before.

Change-Id: I539a135dbc3861e31cbb5c69cef0ff8c0f834527
Fixes: Bug #1202328
neutron/agent/securitygroups_rpc.py
neutron/tests/unit/test_security_groups_rpc.py