Set trusted port only once in iptables firewall driver
Patch [1] added configuration of forward rule for trusted ports in
iptables firewall driver.
This patch fixes issue with many "duplicate iptables rule detected"
warning messages due to try to add such forward rule each time when
trusted port is updated.
Now such rule is added only once for port.
Reviewed: https:/ /review. openstack. org/551981 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=8be0c2a551f ea0c02d757c6ad4 60f8435423ec32
Committed: https:/
Submitter: Zuul
Branch: master
commit 8be0c2a551fea0c 02d757c6ad460f8 435423ec32
Author: Sławek Kapłoński <email address hidden>
Date: Mon Mar 12 13:12:18 2018 +0100
Set trusted port only once in iptables firewall driver
Patch [1] added configuration of forward rule for trusted ports in
iptables firewall driver.
This patch fixes issue with many "duplicate iptables rule detected"
warning messages due to try to add such forward rule each time when
trusted port is updated.
Now such rule is added only once for port.
[1] https:/ /review. openstack. org/#/c/ 525607/
Change-Id: Ib816887f07f16b 6ac865bb81d0f27 f12d0b47dfb
Closes-Bug: #1754770