]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Refactor iptables rule expansion for the non ipset case
authorMiguel Angel Ajo <mangelajo@redhat.com>
Mon, 19 Jan 2015 11:50:18 +0000 (11:50 +0000)
committerMiguel Angel Ajo <mangelajo@redhat.com>
Wed, 28 Jan 2015 12:11:54 +0000 (12:11 +0000)
commitafb2c51f67613fd10e899796932deb7f5833003d
tree1c32dcb1a68ff16e2a3e9471b490adc6836a5a9f
parent0dcdec606e7800c5173ffc71207e95c3eb04b00f
Refactor iptables rule expansion for the non ipset case

IptablesFirewallDriver / _select_sg_rules_for_port was
handling the rule expansion for the non ipset case all
inside the same function.

This patch refactors the expansion out, so it will be
more clear, and easier to cut out non-ipset code later
in time.

Partially implements blueprint refactor-iptables-firewall-driver

Change-Id: I4225d233e59da797e9fa1737757d039eb946cba1
neutron/agent/linux/iptables_firewall.py
neutron/tests/unit/test_iptables_firewall.py