neutron/neutron/tests/unit/agent/linux/openvswitch_firewall
Brian Haley 569b3fddab Fix KeyError in OVS firewall
When merging port ranges, the code never assumed the
conjunction ID might not be present in the set due to
already being removed.

In this case there were two security groups, both using
the same remote security group, but the first security
group does not define a port range and the second one does.
Or more generally, the first SG port range is a subset
of the second, as no port-range means the full range.

Change-Id: I17ab643abbd2ec21eda4ae1dfb9abf2d4b0657f2
Closes-bug: #1813007
(cherry picked from commit 18c578aa10)
2019-03-27 11:53:01 +00:00
..
__init__.py Open vSwitch conntrack based firewall driver 2016-02-16 16:47:21 +00:00
test_firewall.py Reinitialize ovs firewall after ovs-vswitchd restart 2018-12-04 13:27:50 +00:00
test_iptables.py broken HybridIptablesHelper function override 2018-01-09 17:00:46 +00:00
test_rules.py Fix KeyError in OVS firewall 2019-03-27 11:53:01 +00:00