]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Log iptables rules when they fail to apply
authorKevin Benton <blak111@gmail.com>
Fri, 11 Apr 2014 06:51:53 +0000 (23:51 -0700)
committerKevin Benton <blak111@gmail.com>
Wed, 21 May 2014 03:42:17 +0000 (20:42 -0700)
commit90df728558ba1f9c1d00aab1fa9d9e9937121c4b
treec10d63a0f0b759df278d3993076ecc9a6e06fddf
parent52dc25bf418e201b9a237569bfd7f2a8fcdf2623
Log iptables rules when they fail to apply

Log the set of rules that causes iptables-restore
to fail in the Linux agent iptables manager.

If a specific rule is identified as the cause, only
that rule and a few surrounding it will be logged to
reduce the output.

Closes-Bug: #1306399
Change-Id: I8e94c1faae75760e439c5abe3d9b723548398105
neutron/agent/linux/iptables_manager.py
neutron/tests/unit/test_iptables_manager.py