← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1263877] [NEW] ipt_mgr.ipv6 written in the wrong ipt_mgr.ipv4 in iptables_fwaas.py

 

You have been subscribed to a public bug:

In method _enable_policy_chain in
neutron/services/firewall/drivers/linux/iptables_fwaas.py, the ipv6
should use ipt_mgr.ipv6, but it written in the wrong ipt_mgr.ipv4. The
code likes:

    def _enable_policy_chain(self, fwid, ipt_mgr):
        bname = iptables_manager.binary_name

        for (ver, tbl) in [(IPV4, ipt_mgr.ipv4['filter']),
                           (IPV6, ipt_mgr.ipv4['filter'])]:                                     # here should use ipt_mgr.ipv6
            for direction in [INGRESS_DIRECTION, EGRESS_DIRECTION]:
                chain_name = self._get_chain_name(fwid, ver, direction)

** Affects: neutron
     Importance: Undecided
     Assignee: Lee Li (lilinguo)
         Status: New

-- 
ipt_mgr.ipv6 written in the wrong ipt_mgr.ipv4 in iptables_fwaas.py
https://bugs.launchpad.net/bugs/1263877
You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron.