]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix logic for handling SNAT rules
authorSalvatore Orlando <salv.orlando@gmail.com>
Tue, 25 Jun 2013 01:59:26 +0000 (03:59 +0200)
committerSalvatore Orlando <salv.orlando@gmail.com>
Thu, 27 Jun 2013 14:15:15 +0000 (16:15 +0200)
commit8e10c8a5a8e6f64b5a21755eb0553a12ab59c44a
tree2d8440b925ee6ca42e677177dc222ce0e3dd7dd1
parent49d7f872792ac4d238e9f98126a0580b75216cf5
Fix logic for handling SNAT rules

Bug 1192610

Fixes and simplifies the logic for managing SNAT rules, based
on the assumption that a chain contains SNAT rules for a single
router.
It also fixes another small glitch with SNAT rules not being
removed when a gateway port is destroyed (the glitch did not
affect operations)

Change-Id: Ia95e375459a1f32e93bbe912a268a8ed13859c69
quantum/agent/l3_agent.py
quantum/tests/unit/test_l3_agent.py