]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Refactor _convert_sgr_to_iptables_rules in iptables_firewall
authorMiguel Angel Ajo <mangelajo@redhat.com>
Wed, 28 Jan 2015 16:14:36 +0000 (16:14 +0000)
committerMiguel Angel Ajo <mangelajo@redhat.com>
Thu, 29 Jan 2015 09:50:01 +0000 (09:50 +0000)
commitfe97fb6ae4d65055d216dbe2603261a5dc0091ed
tree68c58509c1ad98eccaee35f691a694f6a6eab3a8
parentafb2c51f67613fd10e899796932deb7f5833003d
Refactor _convert_sgr_to_iptables_rules in iptables_firewall

The function is refactored to build ipset and non ipset
iptables rules on separate functions.

Partially implements blueprint refactor-iptables-firewall-driver

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